Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
travis: osx cuda-9.1 support added
Browse files Browse the repository at this point in the history
  • Loading branch information
hackmod committed Dec 3, 2018
1 parent ae73f7d commit ecd55ce
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ matrix:
- CUDA=ON
- CUDA_VERSION=8
- os: osx
osx_image: xcode9.1
osx_image: xcode9.2
env:
- CUDA=OFF
- CUDA=ON
- CUDA_VERSION=9
cache:
directories:
Expand Down Expand Up @@ -58,6 +58,16 @@ before_install:
export CXX=g++-6
fi
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
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
hdiutil mount $HOME/cuda_9.1.128_mac.dmg
sleep 5
ls -ltr /Volumes/CUDAMacOSXInstaller/CUDAMacOSXInstaller.app/Contents/MacOS
sudo /Volumes/CUDAMacOSXInstaller/CUDAMacOSXInstaller.app/Contents/MacOS/CUDAMacOSXInstaller --accept-eula --no-window; export BREW_STATUS=$?
echo "Brew status $BREW_STATUS"
if [ $BREW_STATUS -ne 0 ]; then
echo "Brew Failed"
exit $BREW_STATUS
fi
HOMEBREW_NO_AUTO_UPDATE=1 brew install -q python3
pip3 install -q requests gitpython
fi
Expand Down

0 comments on commit ecd55ce

Please sign in to comment.