forked from lanl-ansi/WaterModels.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (32 loc) · 801 Bytes
/
.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
37
38
39
language:
- julia
os:
- linux
- osx
julia:
- 0.7
- 1.0
cache:
directories:
- /home/travis/.julia
addons:
apt_packages:
- gfortran
before_install:
- julia -e '(VERSION >= v"0.7" && using Pkg); Pkg.rm("WaterModels"); Pkg.rm("WaterModels")'
- julia -e '(VERSION >= v"0.7" && using Pkg); Pkg.update()'
after_success:
- julia -e '(VERSION >= v"0.7" && using Pkg); Pkg.add("Coverage"); cd(Pkg.dir("WaterModels")); using Coverage; Codecov.submit(process_folder())'
jobs:
include:
- stage:
- "Documentation"
julia:
- 1.0
os:
- linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.instantiate(); Pkg.develop(PackageSpec(path=pwd()))'
- julia --project=docs/ docs/make.jl
after_success:
- skip