@@ -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