Limit concurrent jobs to 2
authorLuke Lau <luke_lau@icloud.com>
Tue, 7 Aug 2018 09:05:15 +0000 (10:05 +0100)
committerLuke Lau <luke_lau@icloud.com>
Tue, 7 Aug 2018 09:05:15 +0000 (10:05 +0100)
.travis.yml

index 11494efbf244ba2b77d442139e5ff99bae690533..09ec36d8177ebcca63bd55790ef022e9fe3b09a0 100644 (file)
@@ -33,7 +33,7 @@ before_install:
   - git submodule sync
   - git submodule update
   - cabal new-configure
-  - cabal new-build
+  - cabal new-build -j2
   # - export PATH=$HOME/haskell-ide-engine/dist-newstyle/build/*/ghc-*/haskell-ide-engine-*/x/hie/build:$PATH
   - cp `find dist-newstyle/ -name hie -type f | xargs -x ls -t | head -n1` $HOME/.cabal/bin/
   # - stack --no-terminal --skip-ghc-check install -j2
@@ -46,4 +46,5 @@ before_install:
 
 script:
   - cabal configure --enable-tests --enable-coverage
+  - cabal build
   - cabal test --show-details=streaming