Update travis config for the new world order

pull/936/head
Jesse Vincent 4 years ago
parent 8f604facd9
commit 0089398a46
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -13,7 +13,6 @@ env:
global: global:
- LC_ALL: C - LC_ALL: C
- CCACHE_WRAPPER_PATH: /tmp/kaleidoscope-ccache - CCACHE_WRAPPER_PATH: /tmp/kaleidoscope-ccache
- ARDUINO_DOWNLOAD_URL: https://downloads.arduino.cc/arduino-1.8.13-linux64.tar.xz
git: git:
quiet: true quiet: true
depth: false depth: false
@ -23,17 +22,15 @@ before_install:
install: install:
- cd $TRAVIS_BUILD_DIR - cd $TRAVIS_BUILD_DIR
- git clone --depth 1 --recurse-submodules=build-tools --recurse-submodules=toolchain --recurse-submodules=avr/libraries/ --jobs 16 --shallow-submodules git://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio ../hardware/keyboardio - git clone --depth 1 --recurse-submodules=build-tools --recurse-submodules=toolchain --recurse-submodules=avr/libraries/ --jobs 16 --shallow-submodules git://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio $TRAVIS_BUILD_DIR/.arduino/user/hardware/keyboardio
## We delete the Bundle's version of Kaleidoscope, and symlink ourselves in. ## We delete the Bundle's version of Kaleidoscope, and symlink ourselves in.
## This makes sure we're using the current version of the library. ## This makes sure we're using the current version of the library.
- rm -rf ../hardware/keyboardio/avr/libraries/Kaleidoscope
- ln -s $(pwd) ../hardware/keyboardio/avr/libraries/Kaleidoscope
- export KALEIDOSCOPE_TEMP_PATH=$TRAVIS_BUILD_DIR/.kaleidoscope-build-cache - export KALEIDOSCOPE_TEMP_PATH=$TRAVIS_BUILD_DIR/.kaleidoscope-build-cache
- export BOARD_HARDWARE_PATH=$TRAVIS_BUILD_DIR/../hardware - export KALEIDOSCOPE_ETC_DIR=$TRAVIS_BUILD_DIR/etc
- export ARDUINO_PATH=$TRAVIS_BUILD_DIR/arduino-1.8.13
- make adjust-git-timestamps - make adjust-git-timestamps
- wget --quiet $ARDUINO_DOWNLOAD_URL -O - | tar xJf - - make install-arduino-cli
- make prepare-ccache - make configure-arduino-cli
- make install-arduino-core-avr
jobs: jobs:
include: include:
- env: TEST_CMD="make -j 2 smoke-sketches" - env: TEST_CMD="make -j 2 smoke-sketches"
@ -53,5 +50,4 @@ cache:
apt: true apt: true
ccache: true ccache: true
directories: directories:
- .download-cache
- .kaleidoscope-build-cache - .kaleidoscope-build-cache

Loading…
Cancel
Save