|
1 |
| -## Documentation: http://docs.travis-ci.com/user/languages/julia/ |
2 | 1 | language: julia
|
| 2 | +sudo: false |
| 3 | + |
3 | 4 | os:
|
4 | 5 | - linux
|
5 | 6 | - osx
|
| 7 | + |
6 | 8 | julia:
|
7 | 9 | - 0.6
|
8 | 10 | - nightly
|
| 11 | +matrix: |
| 12 | + allow_failures: |
| 13 | + - julia: nightly |
| 14 | + |
9 | 15 | notifications:
|
10 | 16 | email: false
|
11 |
| -git: |
12 |
| - depth: 99999999 |
13 |
| - |
14 |
| -## uncomment the following lines to allow failures on nightly julia |
15 |
| -## (tests will run but not make your overall status red) |
16 |
| -#matrix: |
17 |
| -# allow_failures: |
18 |
| -# - julia: nightly |
19 |
| - |
20 |
| -## uncomment and modify the following lines to manually install system packages |
21 |
| -#addons: |
22 |
| -# apt: # apt-get for linux |
23 |
| -# packages: |
24 |
| -# - gfortran |
25 |
| -#before_script: # homebrew for mac |
26 |
| -# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi |
27 | 17 |
|
28 |
| -## uncomment the following lines to override the default test script |
29 |
| -#script: |
30 |
| -# - julia -e 'Pkg.clone(pwd()); Pkg.build("CLArrays"); Pkg.test("CLArrays"; coverage=true)' |
31 |
| -after_success: |
32 |
| - # push coverage results to Coveralls |
33 |
| - - julia -e 'cd(Pkg.dir("CLArrays")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' |
34 |
| - # push coverage results to Codecov |
35 |
| - - julia -e 'cd(Pkg.dir("CLArrays")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())' |
| 18 | +before_install: |
| 19 | + - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi |
| 20 | + - if [ $TRAVIS_OS_NAME = "linux" ]; then |
| 21 | + bash .travis/amd_sdk.sh; |
| 22 | + tar -xjf AMD-SDK.tar.bz2; |
| 23 | + AMDAPPSDK=${HOME}/AMDAPPSDK; |
| 24 | + export OPENCL_VENDOR_PATH=${AMDAPPSDK}/etc/OpenCL/vendors; |
| 25 | + mkdir -p ${OPENCL_VENDOR_PATH}; |
| 26 | + sh AMD-APP-SDK*.sh --tar -xf -C ${AMDAPPSDK}; |
| 27 | + echo libamdocl64.so > ${OPENCL_VENDOR_PATH}/amdocl64.icd; |
| 28 | + export LD_LIBRARY_PATH=${AMDAPPSDK}/lib/x86_64:${LD_LIBRARY_PATH}; |
| 29 | + chmod +x ${AMDAPPSDK}/bin/x86_64/clinfo; |
| 30 | + ${AMDAPPSDK}/bin/x86_64/clinfo; |
| 31 | + fi; |
0 commit comments