Try to fix the travis build, which is failing because conditional includes do not work in .ino files for the ino processor ?
This commit is contained in:
parent
4a7aca2736
commit
e3d92b9168
|
@ -24,6 +24,8 @@ before_script:
|
||||||
- sudo rm -rf /usr/share/arduino/libraries/Robot_Control
|
- sudo rm -rf /usr/share/arduino/libraries/Robot_Control
|
||||||
# change back to home directory for compiling
|
# change back to home directory for compiling
|
||||||
- cd $TRAVIS_BUILD_DIR
|
- cd $TRAVIS_BUILD_DIR
|
||||||
|
# copy TMC and L6470 libraries to arduino dir, as conditional includes do not work in .ino files
|
||||||
|
- cp -r ../ArduinoAddons/Arduino_1.x.x/libraries/ /usr/share/arduino/libraries/
|
||||||
# ino needs files in src directory
|
# ino needs files in src directory
|
||||||
- ln -s Marlin src
|
- ln -s Marlin src
|
||||||
# remove Marlin.pde as it confuses ino after it finds Marlin.ino
|
# remove Marlin.pde as it confuses ino after it finds Marlin.ino
|
||||||
|
|
Loading…
Reference in a new issue