Update travis.yml to retry package installations when they fail
This commit is contained in:
parent
635407ca4a
commit
dd71a3c770
1 changed files with 10 additions and 11 deletions
21
.travis.yml
21
.travis.yml
|
@ -42,21 +42,20 @@ after_success:
|
|||
- if [[ $BUILD_DOXYGEN == TRUE ]]; then ./script/update_doxygen.sh; fi
|
||||
|
||||
install:
|
||||
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
|
||||
- sudo add-apt-repository --yes ppa:h-rayflood/llvm
|
||||
- sudo apt-get -qq update
|
||||
- if [[ $USE_TCMALLOC == TRUE ]]; then sudo add-apt-repository --yes ppa:agent-8131/ppa && sudo apt-get -qq update && sudo apt-get -qq install libgoogle-perftools-dev; fi
|
||||
- sudo apt-get -qq install libgmp-dev libmpfr-dev
|
||||
- sudo apt-get -qq install cmake
|
||||
- sudo apt-get -qq install flex bison++
|
||||
- sudo apt-get -qq install libstdc++-4.8-dev
|
||||
- if [[ $CMAKE_CXX_COMPILER == g++-4.8 ]]; then sudo apt-get -qq install g++-4.8; fi
|
||||
- if [[ $CMAKE_CXX_COMPILER == clang++-3.3 ]]; then sudo apt-get -qq install clang-3.3; fi
|
||||
- until sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test; do echo "retry: add-apt-repository"; done
|
||||
- until sudo add-apt-repository --yes ppa:h-rayflood/llvm; do echo "retry: add-apt-repository"; done
|
||||
- until sudo apt-get -qq update; do echo "retry apt-get update"; done
|
||||
- if [[ $USE_TCMALLOC == TRUE ]]; then until sudo add-apt-repository --yes ppa:agent-8131/ppa && sudo apt-get -qq update && sudo apt-get -qq install libgoogle-perftools-dev; do echo "retry: install tcmalloc"; done; fi
|
||||
- until sudo apt-get -qq install libgmp-dev libmpfr-dev; do echo "retry: install libgmp"; done
|
||||
- until sudo apt-get -qq install cmake; do echo "retry: install cmake"; done
|
||||
- until sudo apt-get -qq install flex bison++; do echo "retry: install flex & bison"; done
|
||||
- until sudo apt-get -qq install libstdc++-4.8-dev; do echo "retry: install libstdc++-4.8"; done
|
||||
- if [[ $CMAKE_CXX_COMPILER == g++-4.8 ]]; then until sudo apt-get -qq install g++-4.8; do echo "retry: install g++-4.8"; done fi
|
||||
- if [[ $CMAKE_CXX_COMPILER == clang++-3.3 ]]; then until sudo apt-get -qq install clang-3.3; do echo "retry: install clang-3.3"; done fi
|
||||
|
||||
notifications:
|
||||
email:
|
||||
recipients:
|
||||
- soonho.kong@gmail.com
|
||||
- leansmt-dev@googlegroups.com
|
||||
on_success: always
|
||||
on_failure: always
|
||||
|
|
Loading…
Reference in a new issue