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

Commit

Permalink
Travis CI: Speed up
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed May 16, 2017
1 parent 18f37eb commit ec0878d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ matrix:
cache:
directories:
- $HOME/.hunter/_Base/Cache
- $HOME/.local
before_install:
- if [[ "$CUDA" = ON ]]; then source scripts/install-cuda-trusty.sh; fi
- if [ "$TRAVIS_OS_NAME" = linux ]; then scripts/install_cmake.sh; fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-cuda-trusty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ travis_retry sudo dpkg -i cuda-repo-ubuntu1404_${CUDA_VER}_amd64.deb
travis_retry sudo apt-get update -qq
export CUDA_APT=${CUDA_VER:0:3}
export CUDA_APT=${CUDA_APT/./-}
travis_retry sudo apt-get install -qy cuda-drivers cuda-core-${CUDA_APT} cuda-cudart-dev-${CUDA_APT}
travis_retry sudo apt-get install -qy cuda-core-${CUDA_APT} cuda-cudart-dev-${CUDA_APT}
travis_retry sudo apt-get clean
export CUDA_HOME=/usr/local/cuda-${CUDA_VER:0:3}
export PATH=${CUDA_HOME}/bin:${PATH}

0 comments on commit ec0878d

Please sign in to comment.