Plots.jl/travis_docker_test_script.sh
2019-12-08 13:16:28 +01:00

13 lines
365 B
Bash

#!/bin/bash
JULIAVER=$1 # the first and only argument to the script is the version
JULIABIN=/test/julia-$JULIAVER/bin/julia
## install the image (when necessary)
/test/install-julia.sh $JULIAVER
cd /mnt && if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# run tests
$JULIABIN -e "import Pkg; Pkg.build(); Pkg.test(; coverage=true)"