forked from PainterQubits/Unitful.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 1.08 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
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
# - osx # locally test on my MacBook Pro; OS X tests take too long on Travis CI
julia:
- 1.0
- 1.1
- 1.2
- 1.3
- nightly
notifications:
email: false
matrix:
allow_failures:
- julia: nightly
# uncomment the following lines to override the default test script
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)'
- julia --compiled-modules=no -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)'
after_success:
# push coverage results to Coveralls
- julia -e 'using Pkg; cd(Pkg.dir("Unitful")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'using Pkg; cd(Pkg.dir("Unitful")); using Coverage; Codecov.submit(process_folder())'
- julia -e 'using Pkg; ps=PackageSpec(name="Documenter", version="0.19"); Pkg.add(ps); Pkg.pin(ps)'
- julia -e 'using Pkg; cd(Pkg.dir("Unitful")); include(joinpath("docs", "make.jl"))'