From b0b09ee4e7578b9ee0fef1aa9ae541018eafb1d8 Mon Sep 17 00:00:00 2001 From: Csaba Hruska Date: Mon, 5 Feb 2018 05:41:58 +0100 Subject: use max 3 ghc on travis --- .travis.yml | 2 +- run-test-suite.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index a9daa803..95940842 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ before_install: install: - stack update - - stack --no-terminal --install-ghc test --only-dependencies -j2 + - stack --no-terminal --install-ghc test --only-dependencies -j3 script: - pwd diff --git a/run-test-suite.sh b/run-test-suite.sh index 883705da..4843f704 100755 --- a/run-test-suite.sh +++ b/run-test-suite.sh @@ -4,7 +4,7 @@ UNIT_TEST_PARAMS="--quickcheck-max-size 30 --quickcheck-tests 100" if [ "$1" == "--profile" ] ; then shift - stack build --profile --flag lambdacube-compiler:testsuite --flag lambdacube-compiler:profiling --flag lambdacube-compiler:-cli -j2 + stack build --profile --flag lambdacube-compiler:testsuite --flag lambdacube-compiler:profiling --flag lambdacube-compiler:-cli -j3 set +e RESULT_UNITTESTS=0 stack exec lambdacube-compiler-test-suite -- -r -iperformance -i.ignore $@ +RTS -p @@ -12,7 +12,7 @@ if [ "$1" == "--profile" ] ; then elif [ "$1" == "--coverage" ] ; then shift set +e - stack build --flag lambdacube-compiler:coverage --flag lambdacube-compiler:alltest -j2 + stack build --flag lambdacube-compiler:coverage --flag lambdacube-compiler:alltest -j3 stack exec lambdacube-compiler-unit-tests -- $UNIT_TEST_PARAMS RESULT_UNITTESTS=`echo $?` stack exec lambdacube-compiler-coverage-test-suite -- -iperformance -i.ignore -r $@ @@ -21,7 +21,7 @@ elif [ "$1" == "--coverage" ] ; then rm lambdacube-compiler-coverage-test-suite.tix else set +e - stack build --flag lambdacube-compiler:alltest -j2 + stack build --flag lambdacube-compiler:alltest -j3 stack exec lambdacube-compiler-unit-tests -- $UNIT_TEST_PARAMS RESULT_UNITTESTS=`echo $?` stack exec lambdacube-compiler-test-suite -- -iperformance -i.ignore -r $@ -- cgit v1.2.3