|
|
@ -2,7 +2,10 @@
|
|
|
|
language: c
|
|
|
|
language: c
|
|
|
|
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
before_install:
|
|
|
|
- pwd
|
|
|
|
# Travis runs a detached head. We need to find the current branch
|
|
|
|
|
|
|
|
- git checkout `git branch --contains HEAD | grep -v '*'`
|
|
|
|
|
|
|
|
# Also tags for the root(s) of the minor version(s)
|
|
|
|
|
|
|
|
- git fetch origin --tags
|
|
|
|
- mkdir ~/bin
|
|
|
|
- mkdir ~/bin
|
|
|
|
- wget https://bootstrap.pypa.io/get-pip.py
|
|
|
|
- wget https://bootstrap.pypa.io/get-pip.py
|
|
|
|
- wget https://bintray.com/artifact/download/olikraus/u8glib/u8glib_arduino_v1.17.zip
|
|
|
|
- wget https://bintray.com/artifact/download/olikraus/u8glib/u8glib_arduino_v1.17.zip
|
|
|
@ -17,7 +20,7 @@ install:
|
|
|
|
before_script:
|
|
|
|
before_script:
|
|
|
|
# copy TMC and L6470 libraries to arduino dir, as conditional includes do not work in .ino files
|
|
|
|
# copy TMC and L6470 libraries to arduino dir, as conditional includes do not work in .ino files
|
|
|
|
- sudo cp -r ArduinoAddons/Arduino_1.x.x/libraries/ /usr/share/arduino
|
|
|
|
- sudo cp -r ArduinoAddons/Arduino_1.x.x/libraries/ /usr/share/arduino
|
|
|
|
# add U8glib, LiquidCrystal_I2C & LiquidTWI2 libraries
|
|
|
|
# add U8glib, LiquidCrystal_I2C & LiquidTWI2 libraries
|
|
|
|
- sudo unzip u8glib_arduino_v1.17.zip -d /usr/share/arduino/libraries/
|
|
|
|
- sudo unzip u8glib_arduino_v1.17.zip -d /usr/share/arduino/libraries/
|
|
|
|
- cd /usr/share/arduino/libraries/
|
|
|
|
- cd /usr/share/arduino/libraries/
|
|
|
|
- sudo git clone https://github.com/kiyoshigawa/LiquidCrystal_I2C.git
|
|
|
|
- sudo git clone https://github.com/kiyoshigawa/LiquidCrystal_I2C.git
|
|
|
|