test: Update travis build to include a basic klippy host test
Move the travis installation steps from the travis-build.sh script to a new script (scripts/travis-install.sh). Move the travis-build.sh script to the scripts/ directory as well. The data dictionaries built in the compile tests are useful during host software testing, so run all the compile tests sequentially in a single VM and save the data dictionaries after each build. Also, build all the config files found in the test/configs/ directory. Create the python virtualenv environment during the install phase and invoke the klippy.py host software in the build phase to perform a basic host software sanity check. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
13
.travis.yml
13
.travis.yml
@@ -1,20 +1,13 @@
|
||||
# This is a travis-ci.org continuous integration configuration file.
|
||||
language: c
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sourceline: 'ppa:team-gcc-arm-embedded/ppa'
|
||||
packages:
|
||||
- gcc-avr
|
||||
- avr-libc
|
||||
- wget
|
||||
|
||||
env:
|
||||
- TARGET=atmega2560-16mhz
|
||||
- TARGET=atmega328-16mhz
|
||||
# - TARGET=beaglebone needs pru-gcc (not out of the box available on Ubuntu)
|
||||
- TARGET=hostsimulator
|
||||
- TARGET=linuxprocess
|
||||
- TARGET=sam3x8e GCC_SRC=https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2017q4/gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2 GCC_DIR=gcc-arm-none-eabi-7-2017-q4-major
|
||||
|
||||
script: ./test/travis-build.sh
|
||||
install: ./scripts/travis-install.sh
|
||||
|
||||
script: ./scripts/travis-build.sh
|
||||
|
||||
Reference in New Issue
Block a user