forked from carstenbauer/MonteCarlo.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 1.24 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
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
# - osx
julia:
- release
- nightly
matrix:
allow_failures:
- julia: nightly
# - os: osx
notifications:
email: false
# 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("MonteCarlo"); Pkg.test("MonteCarlo"; coverage=true)'
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y hdf5-tools python-numpy python-scipy python-matplotlib
- julia -e 'Pkg.add("HDF5"); Pkg.add("LightXML"); Pkg.add("JLD"); Pkg.add("PyPlot"); Pkg.clone("https://github.com/crstnbr/ErrorAnalysis.jl"); Pkg.clone("https://github.com/crstnbr/MonteCarloObservable.jl");'
after_success:
# push coverage results to Coveralls
- julia -e 'cd(Pkg.dir("MonteCarlo")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'cd(Pkg.dir("MonteCarlo")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
# Documenter
- julia -e 'Pkg.add("Documenter")'
- julia -e 'cd(Pkg.dir("MonteCarlo")); include(joinpath("docs", "make.jl"))'