forked from jump-dev/JuMP.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 1 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
37
38
39
40
language: julia
codecov: true
coveralls: true
os:
- linux
# - osx # Disable to speed up CI. JuMP has no binary dependency so the result
# with osx and linux should be similar.
julia:
- 1.0
- 1.1
- 1.2
- 1.3
- 1.4
# This is left as an example for the next big version switch.
# matrix:
# allow_failures:
# - julia: 0.7
notifications:
email: false
sudo: false
addons:
apt_packages:
- gfortran
- liblapack-dev
- libblas-dev
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 --color=yes docs/make.jl
after_success: skip
- stage: "Examples"
julia: 1.0
os: linux
script:
- julia --project=examples -e 'using Pkg; Pkg.instantiate(); Pkg.develop(PackageSpec(path=pwd()))'
- julia --project=examples --color=yes examples/run_examples.jl