on master help sign in
Don't compile before building docs in Travis
fc0c55cDavid Raymond Christiansen
.travis.yml+6−6
@@ -19,11 +19,11 @@ before_script:
19 - cd idris*
19 - cd idris*
20script:
20script:
21 - cabal configure -f FFI -f LLVM
21 - cabal configure -f FFI -f LLVM
22− - cabal build
22+ - if [[ "$TESTS" != "doc" ]]; then cabal build; fi
23− - cabal copy
23+ - if [[ "$TESTS" != "doc" ]]; then cabal copy; fi
24 - make -j2 $TESTS
24 - make -j2 $TESTS
25env:
25env:
26− - TESTS=doc
26+ - TESTS="doc"
27− - TESTS=test_c
27+ - TESTS="test_c"
28− - TESTS=test_llvm
28+ - TESTS="test_llvm"
29− - TESTS=test_js
29+ - TESTS="test_js"