summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-10-01 00:24:36 +0200
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-10-01 00:24:36 +0200
commit2c8d64abfa1c989f260dd4fcaa5c6d7707a5f668 (patch)
tree85c1401542a888b9d48255342095c8b6952d71bf /.travis.yml
parent2558a70c731c7b338b7d7e18922dcecac6fdf091 (diff)
downloadxmr-stak-2c8d64abfa1c989f260dd4fcaa5c6d7707a5f668.zip
xmr-stak-2c8d64abfa1c989f260dd4fcaa5c6d7707a5f668.tar.gz
disable cuda install for MacOS
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml26
1 files changed, 13 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml
index f9e01ec..def7fee 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -82,19 +82,19 @@ before_install:
install:
# CUDA
- - NVCC_FOUND=$(which nvcc >/dev/null && { echo 0; } || { echo 1; })
- - which nvcc
- - echo $NVCC_FOUND
- - if [ $NVCC_FOUND -ne 0 ]; then
- mkdir -p $CUDA_ROOT &&
- cd $CUDA_ROOT &&
- travis_retry wget https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda_8.0.44_linux-run &&
- ls -la &&
- chmod u+x *-run &&
- ./cuda_8.0.44_linux-run --silent --toolkit --toolkitpath=$CUDA_ROOT &&
- rm -rf ./cuda_8.0.44_linux-run $CUDA_ROOT/{samples,jre,doc,share} &&
- cd -;
- fi
+ - if [ $TRAVIS_OS_NAME != osx ]; then
+ NVCC_FOUND=$(which nvcc >/dev/null && { echo 0; } || { echo 1; });
+ if [ $NVCC_FOUND -ne 0 ]; then
+ mkdir -p $CUDA_ROOT &&
+ cd $CUDA_ROOT &&
+ travis_retry wget https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda_8.0.44_linux-run &&
+ ls -la &&
+ chmod u+x *-run &&
+ ./cuda_8.0.44_linux-run --silent --toolkit --toolkitpath=$CUDA_ROOT &&
+ rm -rf ./cuda_8.0.44_linux-run $CUDA_ROOT/{samples,jre,doc,share} &&
+ cd -;
+ fi
+ fi;
script:
- if [ $TRAVIS_OS_NAME = osx ]; then
OpenPOWER on IntegriCloud