Try -j1 to fix Travis

Summary:
The Travis build fails.
Trying https://github.com/haskell/cabal/issues/2546 to see if that helps.

Reviewed By: niteria

Differential Revision: D5612089

fbshipit-source-id: d4df127
This commit is contained in:
Julien Odent 2017-08-11 10:25:59 -07:00 committed by Facebook Github Bot
parent 24d3f19976
commit 4c348b1b9d

View File

@ -55,7 +55,7 @@ install:
echo "cabal build-cache MISS";
rm -rf $HOME/.cabsnap;
mkdir -p $HOME/.ghc $HOME/.cabal/lib $HOME/.cabal/share $HOME/.cabal/bin;
cabal install -j --only-dependencies --enable-tests --enable-benchmarks;
cabal install -j1 --only-dependencies --enable-tests --enable-benchmarks;
fi
# snapshot package-db on cache miss
@ -72,8 +72,8 @@ install:
script:
- if [ -f configure.ac ]; then autoreconf -i; fi
- cabal configure --enable-tests -v2 # -v2 provides useful information for debugging
- cabal build -j # this builds all libraries and executables (including tests/benchmarks)
- cabal test -j --show-details=always
- cabal build -j1 # this builds all libraries and executables (including tests/benchmarks)
- cabal test -j1 --show-details=always
- cabal check
- cabal sdist # tests that a source-distribution can be generated