forked from JuliaReach/LazySets.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (39 loc) · 1.45 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
41
42
## Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
julia:
- 0.6
- 0.7
- nightly
notifications:
email: false
git:
depth: 99999999
## allow failures (tests will run but not make your overall status red)
matrix:
allow_failures:
- julia: nightly
## uncomment and modify the following lines to manually install system packages
# apt: # apt-get for linux
# packages:
# - gfortran
#before_script: # homebrew for mac
# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi
## uncomment the following lines to override the default test script
#script:
# - julia -e 'Pkg.clone(pwd()); Pkg.build("LazySets"); Pkg.test("LazySets"; coverage=true)'
after_success:
# documentation (restrict Documenter to release version 0.18.0 due to problems, see #402)
- julia -e 'VERSION >= v"0.7-" && using Pkg;
Pkg.add("Documenter");
VERSION < v"0.7-" && Pkg.pin("Documenter", v"0.18.0");
Pkg.add("Polyhedra");
Pkg.add("CDDLib");'
- julia -e 'cd(Pkg.dir("LazySets")); include(joinpath("docs", "make.jl"))'
# code coverage (for both Coveralls and Codecov)
- julia -e 'Pkg.add("Coverage")'
# push coverage results to Coveralls
#- julia -e 'cd(Pkg.dir("LazySets")); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'cd(Pkg.dir("LazySets")); using Coverage; Codecov.submit(Codecov.process_folder())'