forked from JuliaGPU/ArrayFire.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 1.29 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
dist: trusty
sudo: required
language: julia
os:
- linux
julia:
- 0.5
- 0.6
# - nightly
notifications:
email: false
install:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x24"
# - "export DISPLAY=:99.0"
- sudo apt-add-repository -y ppa:keithw/glfw3
- sudo apt-get update
- sudo apt-get install libfreeimage-dev libatlas3gf-base libfftw3-dev cmake libglfw3-dev mesa-utils
- wget http://ci.arrayfire.org/job/arrayfire-linux/job/graphics-installer/lastSuccessfulBuild/artifact/ArrayFire-v3.5.1_Linux_x86_64.sh
- ls -l
- sudo chmod +x ArrayFire-v3.5.1_Linux_x86_64.sh
- sudo ./ArrayFire-v3.5.1_Linux_x86_64.sh --exclude-subdir --prefix=/usr/local
before_script:
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
- julia -e 'Pkg.add("AutoDiffSource"); Pkg.checkout("AutoDiffSource");'
after_success:
# push coverage results to Coveralls
- julia -e 'cd(Pkg.dir("ArrayFire")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'cd(Pkg.dir("ArrayFire")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'