-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
41 lines (33 loc) · 1.45 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
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
#- osx
julia:
- 0.7
- 1.0
- nightly
matrix:
allow_failures:
- julia: nightly
notifications:
email: false
install:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- sudo apt-get update
# ArrayFire
- sudo apt-get install libfreeimage-dev libatlas3gf-base libfftw3-dev cmake
- wget http://arrayfire.s3.amazonaws.com/3.4.2/ArrayFire-no-gl-v3.4.2_Linux_x86_64.sh
- ls -l
- sudo chmod +x ArrayFire-no-gl-v3.4.2_Linux_x86_64.sh
- sudo ./ArrayFire-no-gl-v3.4.2_Linux_x86_64.sh --exclude-subdir --prefix=/usr/local
- sudo apt-get install python-matplotlib
before_script:
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
script:
#- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
#- if [[ `uname` = "Darwin" ]]; then JULIA="julia"; else JULIA="xvfb-run julia"; fi;
#- LD_PRELOAD=${HOME}/.julia/v0.6/Conda/deps/usr/lib/libz.so julia -e 'Pkg.clone(pwd()); Pkg.build("Shearlab"); Pkg.test("Shearlab"; coverage=true)';
- julia -e 'ENV["PYTHON"]="python"; Pkg.add("PyCall"); Pkg.build("PyCall"); Pkg.add("PyPlot"); Pkg.build("PyPlot"); Pkg.add("DSP"); Pkg.build("DSP");Pkg.clone(pwd()); Pkg.build("Shearlab"); Pkg.test("Shearlab"; coverage=true)';
after_success:
- julia -e 'cd(Pkg.dir("Shearlab")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(process_folder())'