git.iko.soy/distributed-process
on master help sign in
Bump dependencies.
commit232bf6af1c134dc07d1c16a5aa2f4179e3b46130 authorAlexander Vershilov <alexander.vershilov@gmail.com> dateFri 3 Jun 2016, 22:44 (10 years ago) parent85b0f85
2 files changed+15−17
.travis.yml+13−15 distributed-process-tests/distributed-process-tests.cabal+2−2
.travis.yml+13−15
@@ -45,7 +45,7 @@ install:
4545- case "$BUILD" in
4646 stack)
4747 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;
4949 ;;
5050 cabal)
5151 cabal install --jobs=2 --enable-tests --only-dependencies -ftcp . distributed-process-tests/
@@ -55,23 +55,21 @@ install:
5555script:
5656- case "$BUILD" in
5757 stack)
58− stack $ARGS --no-terminal build --test --no-run-tests;
59− cd distributed-process-tests;
60− export BUILD_DIR=.stack-work/dist/x86_64-linux/Cabal-$CABALVER/build
58+ export ARG='--test-arguments'
59+ export TEST_PACKAGE="distributed-process-tests:"
6160 ;;
6261 cabal)
63− cabal install --enable-tests;
64− cabal install --jobs=2;
65− cd distributed-process-tests/;
62+ cabal install --jobs=2 --enable-tests -ftcp .
63+ cd distributed-process-tests;
6664 cabal configure -ftcp --enable-tests;
6765 cabal build --jobs=2;
68− export BUILD_DIR=dist/build
66+ export ARG='--test-options'
67+ export TEST_PACKAGE=""
6968 ;;
7069 esac
71− # skip intermittent tests
72−- $BUILD_DIR/TestCHInMemory/TestCHInMemory --plain -t '!Flaky'
73−- $BUILD_DIR/TestCHInTCP/TestCHInTCP --plain -t '!Flaky'
74−- $BUILD_DIR/TestClosure/TestClosure --plain -t '!SpawnReconnect'
75−- $BUILD_DIR/TestStats/TestStats --plain
76−- $BUILD_DIR/TestMx/TestMx --plain
77−- $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,