-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
29 lines (23 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
29
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- 0.6
# - release
# - nightly
addons:
apt:
packages:
- gfortran
notifications:
email: false
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'ENV["PYTHON"]=""; Pkg.add("PyCall"); Pkg.add("Conda"); using Conda; Conda.add("NumPy"); Conda.add("SciPy"); Conda.add("pip"); pip = joinpath(Conda.BINDIR, "pip"); run(`$pip install ase`); run(`$pip install -e git+https://github.com/libAtoms/matscipy#egg=matscipy`); Pkg.clone("https://github.com/cortner/SKTB.jl"); Pkg.add("JuLIP"); Pkg.checkout("JuLIP"); Pkg.clone("https://github.com/ettersi/FermiContour.jl"); Pkg.build("SKTB"); Pkg.test("SKTB"; coverage=true)'
after_success:
# push coverage results to Coveralls
- julia -e 'cd(Pkg.dir("SKTB.jl")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'cd(Pkg.dir("SKTB.jl")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'