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

Commit

Permalink
Fix Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Dec 27, 2017
1 parent 5bd2b34 commit 692396f
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,16 @@ matrix:
cache:
directories:
- $HOME/.local
before_install:
- if [ "$CUDA" = ON ]; then . scripts/install-cuda-ubuntu1604.sh; fi
- if [ "$TRAVIS_OS_NAME" = linux ]; then scripts/install_cmake.sh; fi
- sudo pip install requests
before_install: |
if [ "$CUDA" = ON ]; then
. scripts/install-cuda-ubuntu1604.sh
fi
if [ "$TRAVIS_OS_NAME" = linux ]; then
scripts/install_cmake.sh
sudo pip install --upgrade requests pyopenssl
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
sudo pip install requests
fi
script:
- cmake -DHUNTER_JOBS_NUMBER=4 -DETHASHCUDA=$CUDA -DETHASHCL=ON -DAPICORE=ON -H. -Bbuild
- cmake --build build -- -j4
Expand Down

0 comments on commit 692396f

Please sign in to comment.