forked from SolverStoppingJulia/Stopping.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (45 loc) · 1.48 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
43
44
45
46
47
48
49
50
51
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
- windows
julia:
- 1.1
- 1.2
- 1.3
- nightly
notifications:
email: false
codecov: true
coveralls: true
## uncomment the following lines to allow failures on nightly julia
# (tests will run but not make your overall status red)
# matrix:
# allow_failures:
# - julia: nightly
# - os: windows
jobs:
allow_failures:
- julia: nightly
- os: windows
include:
- stage: "Documentation"
julia: 1.1
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip
after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(process_folder())'
# uncomment the following lines to override the default test script
#script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia -e 'Pkg.clone(pwd()); Pkg.build("Stopping"); Pkg.test("Stopping"; coverage=true)'
# after_success:
# # push coverage results to Coveralls
# - julia -e 'cd(Pkg.dir("Stopping")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# # push coverage results to Codecov
# - julia -e 'cd(Pkg.dir("Stopping")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'