Skip to content

Commit a1a02c5

Browse files
authored
Conditionally install build deps to speed up Travis
1 parent a997ab2 commit a1a02c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ before_script:
4949
# For teensy build
5050
- sudo apt-get install realpath
5151
# For nrf builds
52-
- sudo ports/nrf/drivers/bluetooth/download_ble_stack.sh
52+
- ([[ $TRAVIS_BOARD != "feather52" ]] || sudo ports/nrf/drivers/bluetooth/download_ble_stack.sh)
5353
# For coverage testing (upgrade is used to get latest urllib3 version)
54-
- sudo pip install --upgrade cpp-coveralls
54+
- ([[ -z "$TRAVIS_TEST" ]] || sudo pip install --upgrade cpp-coveralls)
5555
- gcc --version
5656
- ([[ -z "$TRAVIS_BOARD" ]] || arm-none-eabi-gcc --version)
5757
- python3 --version

0 commit comments

Comments
 (0)