Browse Source

try to fix path to additional libraries.

domonoky 9 years ago
parent
commit
bcb57f13ea
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      .travis.yml

+ 2
- 2
.travis.yml View File

@@ -13,6 +13,8 @@ install:
13 13
   - sudo apt-get update -q 
14 14
   - sudo apt-get install arduino
15 15
 before_script:
16
+  # copy TMC and L6470 libraries to arduino dir, as conditional includes do not work in .ino files
17
+  - cp -r ArduinoAddons/Arduino_1.x.x/libraries/ /usr/share/arduino/libraries/  
16 18
  # add U8glib, LiquidCrystal_I2C & LiquidTWI2 libraries 
17 19
   - sudo unzip u8glib_arduino_v1.17.zip -d /usr/share/arduino/libraries/
18 20
   - cd /usr/share/arduino/libraries/
@@ -24,8 +26,6 @@ before_script:
24 26
   - sudo rm -rf /usr/share/arduino/libraries/Robot_Control
25 27
   # change back to home directory for compiling
26 28
   - cd $TRAVIS_BUILD_DIR
27
-  # copy TMC and L6470 libraries to arduino dir, as conditional includes do not work in .ino files
28
-  - cp -r ../ArduinoAddons/Arduino_1.x.x/libraries/ /usr/share/arduino/libraries/  
29 29
   # ino needs files in src directory
30 30
   - ln -s Marlin src
31 31
   # remove Marlin.pde as it confuses ino after it finds Marlin.ino

Loading…
Cancel
Save