diff options
author | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-10-08 22:33:50 +0200 |
---|---|---|
committer | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-10-08 22:33:50 +0200 |
commit | 9ad1b04ffa5b21f781ff6d534670c2fcaa91b11f (patch) | |
tree | a43b2c1054d9c96ec0d7aeabfef97ea66373cf0b /.travis.yml | |
parent | adb2e196c9500e60eda7f4855439e88d8fd3996a (diff) | |
download | xmr-stak-9ad1b04ffa5b21f781ff6d534670c2fcaa91b11f.zip xmr-stak-9ad1b04ffa5b21f781ff6d534670c2fcaa91b11f.tar.gz |
fix broken travis macosx compile
add `brew update` to avoid that `brew tap homebrew/science` crash
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index def7fee..6ae815a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ addons: env: global: - CUDA_ROOT: $HOME/.cache/cuda - + matrix: include: - os: linux @@ -76,7 +76,10 @@ matrix: - XMRSTAK_CMAKE_FLAGS="-DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF" before_install: - - if [ $TRAVIS_OS_NAME = osx ]; then brew tap homebrew/science; fi + - if [ $TRAVIS_OS_NAME = osx ]; then + brew update; + brew tap homebrew/science; + fi - export PATH=$CUDA_ROOT/bin:$PATH install: @@ -100,7 +103,7 @@ script: - if [ $TRAVIS_OS_NAME = osx ]; then brew install hwloc; cmake -DMICROHTTPD_ENABLE=OFF -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl ${XMRSTAK_CMAKE_FLAGS} .; - else + else cmake -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} ${XMRSTAK_CMAKE_FLAGS} .; fi; - make VERBOSE=1 install |