Skip to content
This repository was archived by the owner on Apr 24, 2022. It is now read-only.

Commit ecd55ce

Browse files
committedDec 3, 2018
travis: osx cuda-9.1 support added
1 parent ae73f7d commit ecd55ce

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed
 

‎.travis.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ matrix:
2626
- CUDA=ON
2727
- CUDA_VERSION=8
2828
- os: osx
29-
osx_image: xcode9.1
29+
osx_image: xcode9.2
3030
env:
31-
- CUDA=OFF
31+
- CUDA=ON
3232
- CUDA_VERSION=9
3333
cache:
3434
directories:
@@ -58,6 +58,16 @@ before_install:
5858
export CXX=g++-6
5959
fi
6060
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
61+
curl -L https://developer.nvidia.com/compute/cuda/9.1/Prod/local_installers/cuda_9.1.128_mac -o $HOME/cuda_9.1.128_mac.dmg
62+
hdiutil mount $HOME/cuda_9.1.128_mac.dmg
63+
sleep 5
64+
ls -ltr /Volumes/CUDAMacOSXInstaller/CUDAMacOSXInstaller.app/Contents/MacOS
65+
sudo /Volumes/CUDAMacOSXInstaller/CUDAMacOSXInstaller.app/Contents/MacOS/CUDAMacOSXInstaller --accept-eula --no-window; export BREW_STATUS=$?
66+
echo "Brew status $BREW_STATUS"
67+
if [ $BREW_STATUS -ne 0 ]; then
68+
echo "Brew Failed"
69+
exit $BREW_STATUS
70+
fi
6171
HOMEBREW_NO_AUTO_UPDATE=1 brew install -q python3
6272
pip3 install -q requests gitpython
6373
fi

0 commit comments

Comments
 (0)
This repository has been archived.