-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.travis.yml
36 lines (36 loc) · 1.37 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- "1.0"
# - "1.1"
- nightly
matrix:
allow_failures:
- julia: nightly
notifications:
email: false
# install:
# # Obtain MKL from JuliaPackaging
# - if [ $TRAVIS_OS_NAME = "linux" ]; then
# wget https://github.com/JuliaPackaging/Yggdrasil/releases/download/MKL-v2019.0.117/MKL.v2019.0.117.x86_64-linux-gnu.tar.gz &&
# mkdir -p MKL &&
# tar xzf MKL.v2019.0.117.x86_64-linux-gnu.tar.gz -C MKL &&
# export MKLROOT=$(pwd)/MKL &&
# export LD_LIBRARY_PATH="$MKLROOT/lib:$LD_LIBRARY_PATH";
# fi
# - if [ $TRAVIS_OS_NAME = "osx" ]; then
# wget https://github.com/JuliaPackaging/Yggdrasil/releases/download/MKL-v2019.0.117/MKL.v2019.0.117.x86_64-apple-darwin14.tar.gz &&
# mkdir -p MKL &&
# tar xzf MKL.v2019.0.117.x86_64-apple-darwin14.tar.gz -C MKL &&
# export MKLROOT=$(pwd)/MKL &&
# export LD_LIBRARY_PATH="$MKLROOT/lib:$LD_LIBRARY_PATH";
# fi
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'using Pkg; Pkg.build("GalerkinSparseGrids")'
- julia -e 'using Pkg; Pkg.test("GalerkinSparseGrids"; coverage=true)';
after_success:
- julia -e 'using Pkg; cd(Pkg.dir("GalerkinSparseGrids")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'