travis.yml: Set jobs to 1, Pass to stack
parent
5dac6dd7f2
commit
ac10b903af
|
@ -178,7 +178,7 @@ before_install:
|
||||||
# echo 'jobs: $ncpus' >> $HOME/.cabal/config
|
# echo 'jobs: $ncpus' >> $HOME/.cabal/config
|
||||||
#fi
|
#fi
|
||||||
- PKGNAME='brittany'
|
- PKGNAME='brittany'
|
||||||
- JOBS='2'
|
- JOBS='1'
|
||||||
- |
|
- |
|
||||||
function better_wait() {
|
function better_wait() {
|
||||||
date
|
date
|
||||||
|
@ -209,7 +209,7 @@ install:
|
||||||
set -ex
|
set -ex
|
||||||
case "$BUILD" in
|
case "$BUILD" in
|
||||||
stack)
|
stack)
|
||||||
stack --no-terminal --install-ghc $ARGS test --bench --only-dependencies
|
stack -j$JOBS --no-terminal --install-ghc $ARGS test --bench --only-dependencies
|
||||||
;;
|
;;
|
||||||
cabal*)
|
cabal*)
|
||||||
cabal --version
|
cabal --version
|
||||||
|
@ -264,7 +264,7 @@ script:
|
||||||
set -ex
|
set -ex
|
||||||
case "$BUILD" in
|
case "$BUILD" in
|
||||||
stack)
|
stack)
|
||||||
better_wait stack --no-terminal $ARGS test --bench --no-run-benchmarks --haddock --no-haddock-deps --ghc-options="-j1 +RTS -M500M -RTS -Werror"
|
better_wait stack -j$JOBS --no-terminal $ARGS test --bench --no-run-benchmarks --haddock --no-haddock-deps --ghc-options="-j1 +RTS -M500M -RTS -Werror"
|
||||||
;;
|
;;
|
||||||
cabal)
|
cabal)
|
||||||
if [ -f configure.ac ]; then autoreconf -i; fi
|
if [ -f configure.ac ]; then autoreconf -i; fi
|
||||||
|
|
Loading…
Reference in New Issue