git.iko.soy/distributed-process
on master help sign in
Merge pull request #289 from haskell-distributed/dev/ghc-8.0.1

Add GHC-8.0.1 to travis builds.

commit9b03cea65b806517cf3034f7c4fbe1b0717bc198 authorFacundo Domínguez <facundominguez@gmail.com> dateTue 7 Jun 2016, 21:24 (10 years ago) parent8aed555232bf6a
2 files changed+18−17
.travis.yml+16−15 distributed-process-tests/distributed-process-tests.cabal+2−2
.travis.yml+16−15
@@ -7,6 +7,9 @@ matrix:
77 - env: CABAL_INSTALL_VER=1.22 GHCVER=7.6.3 BUILD=cabal
88 addons: {apt: {packages: [cabal-install-1.22,ghc-7.6.3], sources: [hvr-ghc]}}
99
10+ - env: CABAL_INSTALL_VER=1.24 GHCVER=8.0.1 BUILD=cabal
11+ addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.1], sources: [hvr-ghc]}}
12+
1013 - env: ARGS="--stack-yaml stack-ghc-7.8.4.yaml" BUILD=stack CABALVER=1.18.1.5
1114 addons: {apt: {packages: [libgmp-dev]}}
1215
@@ -42,7 +45,7 @@ install:
4245- case "$BUILD" in
4346 stack)
4447 stack $ARGS setup --no-terminal;
45− stack $ARGS build --no-terminal --only-snapshot --test
48+ stack $ARGS build --no-terminal --only-snapshot --test --no-run-tests;
4649 ;;
4750 cabal)
4851 cabal install --jobs=2 --enable-tests --only-dependencies -ftcp . distributed-process-tests/
@@ -52,23 +55,21 @@ install:
5255script:
5356- case "$BUILD" in
5457 stack)
55− stack $ARGS --no-terminal build --test --no-run-tests;
56− cd distributed-process-tests;
57− export BUILD_DIR=.stack-work/dist/x86_64-linux/Cabal-$CABALVER/build
58+ export ARG='--test-arguments'
59+ export TEST_PACKAGE="distributed-process-tests:"
5860 ;;
5961 cabal)
60− cabal install --enable-tests;
61− cabal install --jobs=2;
62− cd distributed-process-tests/;
62+ cabal install --jobs=2 --enable-tests -ftcp .
63+ cd distributed-process-tests;
6364 cabal configure -ftcp --enable-tests;
6465 cabal build --jobs=2;
65− export BUILD_DIR=dist/build
66+ export ARG='--test-options'
67+ export TEST_PACKAGE=""
6668 ;;
6769 esac
68− # skip intermittent tests
69−- $BUILD_DIR/TestCHInMemory/TestCHInMemory --plain -t '!Flaky'
70−- $BUILD_DIR/TestCHInTCP/TestCHInTCP --plain -t '!Flaky'
71−- $BUILD_DIR/TestClosure/TestClosure --plain -t '!SpawnReconnect'
72−- $BUILD_DIR/TestStats/TestStats --plain
73−- $BUILD_DIR/TestMx/TestMx --plain
74−- $BUILD_DIR/TestTracing/TestTracing --plain
70+- $BUILD ${ARGS} test $ARG='--plain -t "!Flaky"' ${TEST_PACKAGE}TestCHInMemory
71+- $BUILD ${ARGS} test $ARG='--plain -t "!Flaky"' ${TEST_PACKAGE}TestCHInTCP
72+- $BUILD ${ARGS} test $ARG='--plain -t "!SpawnReconnect"' ${TEST_PACKAGE}TestClosure
73+- $BUILD ${ARGS} test $ARG='--plain' ${TEST_PACKAGE}TestStats
74+- $BUILD ${ARGS} test $ARG='--plain' ${TEST_PACKAGE}TestMx
75+- $BUILD ${ARGS} test $ARG='--plain' ${TEST_PACKAGE}TestTracing
distributed-process-tests/distributed-process-tests.cabal+2−2
@@ -27,8 +27,8 @@ library
2727 Control.Distributed.Process.Tests.Internal.Utils
2828 Build-Depends: base >= 4.4 && < 5,
2929 ansi-terminal >= 0.5 && < 0.7,
30− binary >= 0.5 && < 0.8,
31− bytestring >= 0.9 && < 0.11,
30+ binary >= 0.5 && < 0.9,
31+ bytestring >= 0.9 && < 0.12,
3232 distributed-process >= 0.6.0 && < 0.7,
3333 distributed-static,
3434 HUnit >= 1.2 && < 1.4,