-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
38 lines (31 loc) · 1.05 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
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- 0.7
- 1.0
- nightly
notifications:
email: false
git:
depth: 99999999
## 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
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia --project --check-bounds=yes -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("Symbolics"); Pkg.test("Symbolics"; coverage=true)'
after_success:
- julia -e 'using Pkg'
# push coverage results to Coveralls
- julia -e 'import Symbolics'
- julia -e 'joinpath(dirname(pathof(Symbolics)), ".."); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'using Coverage; Codecov.submit(Codecov.process_folder())'
# # Documentation
# - julia -e 'Pkg.add("Documenter")'
# - julia -e 'include(joinpath(dirname(pathof(Symbolics)), "../docs", "make.jl"))'