summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-01-02 11:54:11 -0800
committerGitHub <noreply@github.com>2018-01-02 11:54:11 -0800
commita1a02c5427b1642f2dab618481327b2d12f798c4 (patch)
treee542cfddf69c872faf0fdf24ce1cda31146785ea
parenta997ab258ef95245d76bbf28572fedbf68b92b94 (diff)
Conditionally install build deps to speed up Travis
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index c9f5aaa12..aeadbc90b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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