diff options
author | Csaba Hruska <csaba.hruska@gmail.com> | 2018-02-05 05:41:58 +0100 |
---|---|---|
committer | Csaba Hruska <csaba.hruska@gmail.com> | 2018-02-05 05:41:58 +0100 |
commit | b0b09ee4e7578b9ee0fef1aa9ae541018eafb1d8 (patch) | |
tree | 4eba1b82ca7f8959bfa2b3c80f52750295c14a56 | |
parent | dc10dc255638b86f4a20a29a1b492e2415640b60 (diff) |
use max 3 ghc on travis
-rw-r--r-- | .travis.yml | 2 | ||||
-rwxr-xr-x | 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: | |||
18 | 18 | ||
19 | install: | 19 | install: |
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 | ||
23 | script: | 23 | script: |
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 | ||
5 | if [ "$1" == "--profile" ] ; then | 5 | if [ "$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 | |||
12 | elif [ "$1" == "--coverage" ] ; then | 12 | elif [ "$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 |
22 | else | 22 | else |
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 $@ |