13 lines
365 B
Bash
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)"
|