forked from jump-dev/JuMP.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 914 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
language: julia
os:
- linux
- osx
julia:
- 0.6
- 0.7
# 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
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone(pwd())'
- julia -e 'Pkg.test("JuMP", coverage=true)'
# - julia test/hygiene.jl
# - julia -e 'Pkg.add("Ipopt")' # needed for below tests
# - julia test/hockschittkowski/runhs.jl
after_success:
- echo $TRAVIS_JULIA_VERSION
- julia -e 'Pkg.add("Coverage"); cd(Pkg.dir("JuMP")); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())'
- julia -e 'Pkg.add("Documenter")'
- julia -e 'cd(Pkg.dir("JuMP")); include(joinpath("docs", "make.jl"))'