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 8, 2018
1 parent 90cb165 commit 93d371d
Show file tree
Hide file tree
Showing 2 changed files with 16 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
13 changes: 13 additions & 0 deletions etc/ci-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@ then
CONFIGFLAGS="$CONFIGFLAGS --enable-hpcgap"
fi


if [[ $JULIA = yes ]]
then
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 93d371d

Please sign in to comment.