Skip to content

Commit

Permalink
Test Julia GC integration on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Oct 9, 2018
1 parent 7e2bb66 commit 269d490
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ matrix:
#- libgmp-dev:i386 # do not install GMP, to test that GAP can build its own
- libreadline-dev:i386

# test Julia integration
- env: TEST_SUITES="testinstall" JULIA=yes

# run bugfix regression tests
- env: TEST_SUITES=testbugfix

Expand Down
14 changes: 14 additions & 0 deletions etc/ci-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ then
CONFIGFLAGS="$CONFIGFLAGS --enable-hpcgap"
fi


if [[ $JULIA = yes ]]
then
# TODO: once Julia 1.1 is released, switch to stable Julia versions here?
wget https://julialangnightlies-s3.julialang.org/bin/linux/x64/julia-latest-linux64.tar.gz
tar xvf julia-latest-linux64.tar.gz
rm julia-latest-linux64.tar.gz
pushd julia-*
JULIA_PATH=$(pwd)
popd
CONFIGFLAGS="$CONFIGFLAGS --with-gc=julia --with-julia=$JULIA_PATH"
fi


# configure and make GAP
"$SRCDIR/configure" $CONFIGFLAGS --enable-Werror
make V=1 -j4
Expand Down

0 comments on commit 269d490

Please sign in to comment.