Update travis CI to specify a config
@@ -34,6 +34,12 @@ install:
- ln -s $PWD /usr/local/share/arduino/libraries/GUIslice
- arduino --install-library "Adafruit GFX Library,Adafruit ILI9341,Adafruit STMPE610,Adafruit BusIO"
script:
+ - # Select config "ard-adagfx-ili9341-stmpe610.h"
+ - mv $PWD/src/GUIslice_config.h $PWD/src/GUIslice_config.h.bak
+ - sed "s/^.*my-config.*/#include \"..\/configs\/ard-adagfx-ili9341-stmpe610.h\" \/\/ my-config/" $PWD/src/GUIslice_config.h.bak > $PWD/src/GUIslice_config.h
+ - # For debug, output config
+ - cat $PWD/src/GUIslice_config.h
+ - # Run the regression
- arduino --verify --board arduino:avr:uno $PWD/examples/arduino_min/ex07_ardmin_slider/ex07_ardmin_slider.ino
- arduino --verify --board arduino:avr:mega:cpu=atmega2560 $PWD/examples/arduino/ex07_ard_slider/ex07_ard_slider.ino
- doxygen doxygen.conf
