summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCsaba Hruska <csaba.hruska@gmail.com>2018-02-05 05:41:58 +0100
committerCsaba Hruska <csaba.hruska@gmail.com>2018-02-05 05:41:58 +0100
commitb0b09ee4e7578b9ee0fef1aa9ae541018eafb1d8 (patch)
tree4eba1b82ca7f8959bfa2b3c80f52750295c14a56
parentdc10dc255638b86f4a20a29a1b492e2415640b60 (diff)
use max 3 ghc on travis
-rw-r--r--.travis.yml2
-rwxr-xr-xrun-test-suite.sh6
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:
18 18
19install: 19install:
20 - stack update 20 - stack update
21 - stack --no-terminal --install-ghc test --only-dependencies -j2 21 - stack --no-terminal --install-ghc test --only-dependencies -j3
22 22
23script: 23script:
24 - pwd 24 - 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"
4 4
5if [ "$1" == "--profile" ] ; then 5if [ "$1" == "--profile" ] ; then
6 shift 6 shift
7 stack build --profile --flag lambdacube-compiler:testsuite --flag lambdacube-compiler:profiling --flag lambdacube-compiler:-cli -j2 7 stack build --profile --flag lambdacube-compiler:testsuite --flag lambdacube-compiler:profiling --flag lambdacube-compiler:-cli -j3
8 set +e 8 set +e
9 RESULT_UNITTESTS=0 9 RESULT_UNITTESTS=0
10 stack exec lambdacube-compiler-test-suite -- -r -iperformance -i.ignore $@ +RTS -p 10 stack exec lambdacube-compiler-test-suite -- -r -iperformance -i.ignore $@ +RTS -p
@@ -12,7 +12,7 @@ if [ "$1" == "--profile" ] ; then
12elif [ "$1" == "--coverage" ] ; then 12elif [ "$1" == "--coverage" ] ; then
13 shift 13 shift
14 set +e 14 set +e
15 stack build --flag lambdacube-compiler:coverage --flag lambdacube-compiler:alltest -j2 15 stack build --flag lambdacube-compiler:coverage --flag lambdacube-compiler:alltest -j3
16 stack exec lambdacube-compiler-unit-tests -- $UNIT_TEST_PARAMS 16 stack exec lambdacube-compiler-unit-tests -- $UNIT_TEST_PARAMS
17 RESULT_UNITTESTS=`echo $?` 17 RESULT_UNITTESTS=`echo $?`
18 stack exec lambdacube-compiler-coverage-test-suite -- -iperformance -i.ignore -r $@ 18 stack exec lambdacube-compiler-coverage-test-suite -- -iperformance -i.ignore -r $@
@@ -21,7 +21,7 @@ elif [ "$1" == "--coverage" ] ; then
21 rm lambdacube-compiler-coverage-test-suite.tix 21 rm lambdacube-compiler-coverage-test-suite.tix
22else 22else
23 set +e 23 set +e
24 stack build --flag lambdacube-compiler:alltest -j2 24 stack build --flag lambdacube-compiler:alltest -j3
25 stack exec lambdacube-compiler-unit-tests -- $UNIT_TEST_PARAMS 25 stack exec lambdacube-compiler-unit-tests -- $UNIT_TEST_PARAMS
26 RESULT_UNITTESTS=`echo $?` 26 RESULT_UNITTESTS=`echo $?`
27 stack exec lambdacube-compiler-test-suite -- -iperformance -i.ignore -r $@ 27 stack exec lambdacube-compiler-test-suite -- -iperformance -i.ignore -r $@