Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyakooo0 committed Mar 13, 2020
1 parent 68efb0a commit 71d1390
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,17 +127,18 @@ before_script:
- tar -xf ${ORIGINAL_DIR}/dist/${PKGNAME}*.tar.gz
- cd ${PKGNAME}*
script:
- export LD_PRELOAD=/opt/ghc/${GHCVER}/lib/ghc-${GHCVER}/rts/libffi.so.7
###
- echo 'Configure...' && echo -en 'travis_fold:start:script.configure\\r'
- cabal v1-configure -f FFI -f CI --enable-tests
- echo -en 'travis_fold:end:script.configure\\r'
###
- echo 'Build...' && echo -en 'travis_fold:start:script.build\\r'
- LD_PRELOAD=/opt/ghc/${GHCVER}/lib/ghc-${GHCVER}/rts/libffi.so.7 cabal v1-build
- cabal v1-build
- echo -en 'travis_fold:end:script.build\\r'
###
- echo 'Copy...' && echo -en 'travis_fold:start:script.copy\\r'
- LD_PRELOAD=/opt/ghc/${GHCVER}/lib/ghc-${GHCVER}/rts/libffi.so.7 cabal v1-copy
- cabal v1-copy
- echo -en 'travis_fold:end:script.copy\\r'
###
- echo 'Register...' && echo -en 'travis_fold:start:script.register\\r'
Expand All @@ -153,7 +154,7 @@ script:
- echo 'Tests...' && echo -en 'travis_fold:start:script.tests\\r'
- for test in $TESTS; do
echo "make TEST-JOBS=2 $test";
travis_wait LD_PRELOAD=/opt/ghc/${GHCVER}/lib/ghc-${GHCVER}/rts/libffi.so.7 make TEST-JOBS=2 $test;
travis_wait make TEST-JOBS=2 $test;
done
- echo -en 'travis_fold:end:script.tests\\r'
###
Expand Down

0 comments on commit 71d1390

Please sign in to comment.