Create travis_docker_test_script.sh
This commit is contained in:
parent
f689ed244e
commit
5a8104fd74
12
travis_docker_test_script.sh
Normal file
12
travis_docker_test_script.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/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)"
|
||||
Loading…
x
Reference in New Issue
Block a user