From bcb57f13ea551811cc4bf9afd13ec25c637e52e9 Mon Sep 17 00:00:00 2001 From: domonoky Date: Mon, 2 Mar 2015 18:55:30 +0100 Subject: [PATCH] try to fix path to additional libraries. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8a6df595b..13e9a964b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,8 @@ install: - sudo apt-get update -q - sudo apt-get install arduino before_script: + # 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/ # add U8glib, LiquidCrystal_I2C & LiquidTWI2 libraries - sudo unzip u8glib_arduino_v1.17.zip -d /usr/share/arduino/libraries/ - cd /usr/share/arduino/libraries/ @@ -24,8 +26,6 @@ before_script: - sudo rm -rf /usr/share/arduino/libraries/Robot_Control # change back to home directory for compiling - 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 - ln -s Marlin src # remove Marlin.pde as it confuses ino after it finds Marlin.ino