-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
49 lines (46 loc) · 1.22 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
## Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
# - osx
julia:
- 0.7
- '1.0'
# - nightly
env:
global:
# Suppress "Could not connect to display" warnings from GR Framework.
# * https://gr-framework.org/about.html#file-formats
# * https://github.com/jheinen/gr/blob/v0.31.1/lib/gks/util.c#L67
- GKS_WSTYPE: png
matrix:
- CI_GROUP=0
- CI_GROUP=1
- CI_GROUP=2
- CI_GROUP=docs
notifications:
email: false
git:
depth: 99999999
before_script:
- julia --color=yes ci/before_script.jl
script:
- if [ "$CI_GROUP" = docs ]; then
travis_wait 60 julia --color=yes docs/build.jl;
else
julia --color=yes --check-bounds=yes -e 'using Pkg; Pkg.test(coverage=true)';
fi
after_success:
- cat Manifest.toml
# push coverage results to Coveralls
- if [ "$CI_GROUP" != docs ]; then
julia --color=yes -e 'using Coverage; Coveralls.submit(Coveralls.process_folder())';
fi
# push coverage results to Codecov
- if [ "$CI_GROUP" != docs ]; then
julia --color=yes -e 'using Coverage; Codecov.submit(Codecov.process_folder())';
fi
# build documents
- if [ "$CI_GROUP" = docs ]; then
julia --color=yes docs/deploy.jl;
fi