forked from danspielman/Laplacians.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (35 loc) · 1.13 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
39
40
41
# blocklist
branches:
except:
- speed
# safelist
branches:
only:
- master
language: julia
julia:
- 0.5.0
# install anaconda 2.7 (to be compatible with PyAMG)
before_install:
- sudo apt-get update
- wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
# now, install required python packages
install:
- pip install matplotlib
- pip install scipy
- pip install pyamg
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone("PyPlot"); Pkg.build("PyPlot")'
- julia -e 'Pkg.clone("PyAMG"); Pkg.build("PyAMG")'
- julia -e 'Pkg.clone(pwd()); Pkg.build("Laplacians"); Pkg.test("Laplacians"; coverage=true)'
after_success:
- julia -e 'cd(Pkg.dir("Laplacians")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
- julia -e 'Pkg.add("Documenter")'
- julia -e 'cd(Pkg.dir("Laplacians")); include(joinpath("docs", "make.jl"))'