Conditionally install build deps to speed up Travis

This commit is contained in:
Scott Shawcroft 2018-01-02 11:54:11 -08:00 committed by GitHub
parent a997ab258e
commit a1a02c5427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -49,9 +49,9 @@ before_script:
# For teensy build
- sudo apt-get install realpath
# For nrf builds
- sudo ports/nrf/drivers/bluetooth/download_ble_stack.sh
- ([[ $TRAVIS_BOARD != "feather52" ]] || sudo ports/nrf/drivers/bluetooth/download_ble_stack.sh)
# For coverage testing (upgrade is used to get latest urllib3 version)
- sudo pip install --upgrade cpp-coveralls
- ([[ -z "$TRAVIS_TEST" ]] || sudo pip install --upgrade cpp-coveralls)
- gcc --version
- ([[ -z "$TRAVIS_BOARD" ]] || arm-none-eabi-gcc --version)
- python3 --version