-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 1.42 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
notifications:
email: false
language: julia
os:
- linux
matrix:
allow_failures:
- julia: 1.6
- julia: nightly
fast_finish: true
include:
- julia: 1.5
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- git clone https://github.com/JuliaRegistries/General.git $HOME/.julia/registries/General
- git clone https://github.com/kyungminlee/KyungminLeeRegistry.jl.git $HOME/.julia/registries/KyungminLeeRegistry
- julia --project -e 'import Pkg; Pkg.build()'
- JULIA_NUM_THREADS=2 julia --project --check-bounds=yes -e 'import Pkg; Pkg.test(; coverage=true, julia_args=`--inline=no`)'
after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder()); Coveralls.submit(process_folder())'
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
- julia: nightly
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- git clone https://github.com/JuliaRegistries/General.git $HOME/.julia/registries/General
- git clone https://github.com/kyungminlee/KyungminLeeRegistry.jl.git $HOME/.julia/registries/KyungminLeeRegistry
- julia --project -e 'import Pkg; Pkg.build()'
- JULIA_NUM_THREADS=2 julia --project --check-bounds=yes -e 'import Pkg; Pkg.test(; coverage=false)'