forked from JuliaCN/JuliaZH.jl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
36 lines (29 loc) · 942 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
32
33
34
35
36
## Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- 1.0
- nightly
notifications:
email: false
git:
depth: 99999999
matrix:
allow_failures:
- julia: nightly
## uncomment the following lines to override the default test script
script:
# test
- julia --project --check-bounds=yes -e 'using Pkg; Pkg.instantiate(); Pkg.build(); Pkg.test(; coverage=true)'
# rebuild sysimg for updating stdlib path info
- julia -e 'include("contrib/build_sysimg.jl"); build_sysimg(force=true)'
# build docs
- cp -r zh_CN/* ./
- julia --project=doc -e 'include("doc/make.jl")'
after_success:
# push coverage results to Coveralls
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'