git.iko.soy/distributed-process
on master help sign in
Bump dependencies.
232bf6aAlexander Vershilov
.travis.yml+13−15
@@ -45,7 +45,7 @@ install:
45- case "$BUILD" in
45- case "$BUILD" in
46 stack)
46 stack)
47 stack $ARGS setup --no-terminal;
47 stack $ARGS setup --no-terminal;
48− stack $ARGS build --no-terminal --only-snapshot --test
48+ stack $ARGS build --no-terminal --only-snapshot --test --no-run-tests;
49 ;;
49 ;;
50 cabal)
50 cabal)
51 cabal install --jobs=2 --enable-tests --only-dependencies -ftcp . distributed-process-tests/
51 cabal install --jobs=2 --enable-tests --only-dependencies -ftcp . distributed-process-tests/
@@ -55,23 +55,21 @@ install:
55script:
55script:
56- case "$BUILD" in
56- case "$BUILD" in
57 stack)
57 stack)
58− stack $ARGS --no-terminal build --test --no-run-tests;
58+ export ARG='--test-arguments'
59− cd distributed-process-tests;
59+ export TEST_PACKAGE="distributed-process-tests:"
60− export BUILD_DIR=.stack-work/dist/x86_64-linux/Cabal-$CABALVER/build
61 ;;
60 ;;
62 cabal)
61 cabal)
63− cabal install --enable-tests;
62+ cabal install --jobs=2 --enable-tests -ftcp .
64− cabal install --jobs=2;
65− cd distributed-process-tests/;
63+ cd distributed-process-tests;
66 cabal configure -ftcp --enable-tests;
64 cabal configure -ftcp --enable-tests;
67 cabal build --jobs=2;
65 cabal build --jobs=2;
68− export BUILD_DIR=dist/build
66+ export ARG='--test-options'
67+ export TEST_PACKAGE=""
69 ;;
68 ;;
70 esac
69 esac
71− # skip intermittent tests
70+- $BUILD ${ARGS} test $ARG='--plain -t "!Flaky"' ${TEST_PACKAGE}TestCHInMemory
72−- $BUILD_DIR/TestCHInMemory/TestCHInMemory --plain -t '!Flaky'
71+- $BUILD ${ARGS} test $ARG='--plain -t "!Flaky"' ${TEST_PACKAGE}TestCHInTCP
73−- $BUILD_DIR/TestCHInTCP/TestCHInTCP --plain -t '!Flaky'
72+- $BUILD ${ARGS} test $ARG='--plain -t "!SpawnReconnect"' ${TEST_PACKAGE}TestClosure
74−- $BUILD_DIR/TestClosure/TestClosure --plain -t '!SpawnReconnect'
73+- $BUILD ${ARGS} test $ARG='--plain' ${TEST_PACKAGE}TestStats
75−- $BUILD_DIR/TestStats/TestStats --plain
74+- $BUILD ${ARGS} test $ARG='--plain' ${TEST_PACKAGE}TestMx
76−- $BUILD_DIR/TestMx/TestMx --plain
75+- $BUILD ${ARGS} test $ARG='--plain' ${TEST_PACKAGE}TestTracing
77−- $BUILD_DIR/TestTracing/TestTracing --plain
distributed-process-tests/distributed-process-tests.cabal+2−2
@@ -27,8 +27,8 @@ library
27 Control.Distributed.Process.Tests.Internal.Utils
27 Control.Distributed.Process.Tests.Internal.Utils
28 Build-Depends: base >= 4.4 && < 5,
28 Build-Depends: base >= 4.4 && < 5,
29 ansi-terminal >= 0.5 && < 0.7,
29 ansi-terminal >= 0.5 && < 0.7,
30− binary >= 0.5 && < 0.8,
30+ binary >= 0.5 && < 0.9,
31− bytestring >= 0.9 && < 0.11,
31+ bytestring >= 0.9 && < 0.12,
32 distributed-process >= 0.6.0 && < 0.7,
32 distributed-process >= 0.6.0 && < 0.7,
33 distributed-static,
33 distributed-static,
34 HUnit >= 1.2 && < 1.4,
34 HUnit >= 1.2 && < 1.4,