forked from JuliaGPU/OpenCL.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (53 loc) · 1.79 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
language: julia
sudo: false
os:
#- linux
- osx
julia:
- 1.0
- nightly
matrix:
allow_failures:
- julia: nightly
notifications:
email: false
# before_install:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - if [ $TRAVIS_OS_NAME = "linux" ]; then
# bash .travis/amd_sdk.sh;
# tar -xjf AMD-SDK.tar.bz2;
# AMDAPPSDK=${HOME}/AMDAPPSDK;
# export OPENCL_VENDOR_PATH=${AMDAPPSDK}/etc/OpenCL/vendors;
# mkdir -p ${OPENCL_VENDOR_PATH};
# sh AMD-APP-SDK*.sh --tar -xf -C ${AMDAPPSDK};
# echo libamdocl64.so > ${OPENCL_VENDOR_PATH}/amdocl64.icd;
# export LD_LIBRARY_PATH=${AMDAPPSDK}/lib/x86_64:${LD_LIBRARY_PATH};
# chmod +x ${AMDAPPSDK}/bin/x86_64/clinfo;
# ${AMDAPPSDK}/bin/x86_64/clinfo;
# fi;
#script:
#- julia -e 'Pkg.init(); Pkg.clone(pwd())'
#- julia -e 'using OpenCL'
#- julia --color=yes --depwarn=error -e "Pkg.test(\"OpenCL\")"
#- julia examples/demo.jl
#- julia examples/performance.jl
#- julia examples/hands_on_opencl/ex04/vadd_chain.jl
#- julia examples/hands_on_opencl/ex05/vadd_abc.jl
#- julia examples/hands_on_opencl/ex06/matmul.jl
#- julia examples/hands_on_opencl/ex07/matmul.jl
#- julia examples/hands_on_opencl/ex08/matmul.jl
# - if [ $TRAVIS_OS_NAME = "linux" ]; then
# julia examples/hands_on_opencl/ex09/pi_ocl.jl;
# fi;
# - if [ $TRAVIS_OS_NAME = "linux" ]; then
# julia examples/hands_on_opencl/exA/pi_vocl.jl 1;
# fi;
# - if [ $TRAVIS_OS_NAME = "linux" ]; then
# julia examples/hands_on_opencl/exA/pi_vocl.jl 4;
# fi;
# - if [ $TRAVIS_OS_NAME = "linux" ]; then
# julia examples/hands_on_opencl/exA/pi_vocl.jl 8;
# fi;
after_success:
- julia -e 'using Pkg; Pkg.add("Coverage")'
- julia -e 'using Coverage; Coveralls.submit(process_folder())'