123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- ---
- language: c
-
- before_install:
- - pwd
- - wget https://bootstrap.pypa.io/get-pip.py
- - wget https://bintray.com/artifact/download/olikraus/u8glib/u8glib_arduino_v1.17.zip
- install:
- - sudo python get-pip.py
- - sudo pip install ino
-
- - sudo add-apt-repository ppa:michael-gruz/elektronik -y
- - sudo apt-get update -q
- - sudo apt-get install arduino
- before_script:
-
- - sudo unzip u8glib_arduino_v1.17.zip -d /usr/share/arduino/libraries/
- - cd /usr/share/arduino/libraries/
- - sudo git clone https://github.com/kiyoshigawa/LiquidCrystal_I2C.git
- - ls -la
- - ls -la LiquidCrystal_I2C/
- - sudo git clone https://github.com/lincomatic/LiquidTWI2.git
-
- - sudo rm -rf /usr/share/arduino/libraries/Robot_Control
-
- - cd $TRAVIS_BUILD_DIR
-
- - ln -s Marlin src
-
- - rm Marlin/Marlin.pde
- script:
-
- - ino build -m mega2560
-
- - cp Marlin/Configuration.h Marlin/Configuration.h.backup
- - cp Marlin/Configuration_adv.h Marlin/Configuration_adv.h.backup
-
-
-
-
-
-
-
-
-
-
-
- - cp Marlin/Configuration.h.backup Marlin/Configuration.h
- - sed -i 's/\/\/#define PIDTEMPBED/#define PIDTEMPBED/g' Marlin/Configuration.h
- - rm -rf .build/
- - ino build -m mega2560
-
- - cp Marlin/Configuration.h.backup Marlin/Configuration.h
- - sed -i 's/\/\/#define THERMAL_RUNAWAY_PROTECTION_PERIOD/#define THERMAL_RUNAWAY_PROTECTION_PERIOD/g' Marlin/Configuration.h
- - sed -i 's/\/\/#define THERMAL_RUNAWAY_PROTECTION_HYSTERESIS/#define THERMAL_RUNAWAY_PROTECTION_HYSTERESIS/g' Marlin/Configuration.h
- - sed -i 's/\/\/#define THERMAL_RUNAWAY_PROTECTION_BED_PERIOD/#define THERMAL_RUNAWAY_PROTECTION_BED_PERIOD/g' Marlin/Configuration.h
- - sed -i 's/\/\/#define THERMAL_RUNAWAY_PROTECTION_BED_HYSTERESIS/#define THERMAL_RUNAWAY_PROTECTION_BED_HYSTERESIS/g' Marlin/Configuration.h
- - rm -rf .build/
- - ino build -m mega2560
-
- - cp Marlin/Configuration.h.backup Marlin/Configuration.h
- - sed -i 's/\/\/#define ENABLE_AUTO_BED_LEVELING/#define ENABLE_AUTO_BED_LEVELING/g' Marlin/Configuration.h
- - rm -rf .build/
- - ino build -m mega2560
-
- - cp Marlin/Configuration.h.backup Marlin/Configuration.h
- - sed -i 's/\/\/#define EEPROM_SETTINGS/#define EEPROM_SETTINGS/g' Marlin/Configuration.h
- - sed -i 's/\/\/#define EEPROM_CHITCHAT/#define EEPROM_CHITCHAT/g' Marlin/Configuration.h
- - rm -rf .build/
- - ino build -m mega2560
-
-
- - cp Marlin/Configuration.h.backup Marlin/Configuration.h
- - sed -i 's/\/\/#define ULTIMAKERCONTROLLER/#define ULTIMAKERCONTROLLER/g' Marlin/Configuration.h
- - rm -rf .build/
- - ino build -m mega2560
-
-
-
-
-
-
-
- - cp Marlin/Configuration.h.backup Marlin/Configuration.h
- - sed -i 's/\/\/#define REPRAP_DISCOUNT_SMART_CONTROLLER/#define REPRAP_DISCOUNT_SMART_CONTROLLER/g' Marlin/Configuration.h
- - rm -rf .build/
- - ino build -m mega2560
-
- - cp Marlin/Configuration.h.backup Marlin/Configuration.h
- - sed -i 's/\/\/#define G3D_PANEL/#define G3D_PANEL/g' Marlin/Configuration.h
- - rm -rf .build/
- - ino build -m mega2560
-
- - cp Marlin/Configuration.h.backup Marlin/Configuration.h
- - sed -i 's/\/\/#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER/#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER/g' Marlin/Configuration.h
- - rm -rf .build/
- - ino build -m mega2560
-
-
-
-
-
-
-
-
-
- - cp Marlin/Configuration.h.backup Marlin/Configuration.h
- - sed -i 's/\/\/#define RA_CONTROL_PANEL/#define RA_CONTROL_PANEL/g' Marlin/Configuration.h
- - rm -rf .build/
- - ino build -m mega2560
-
-
-
-
-
-
-
-
- - cp Marlin/Configuration.h.backup Marlin/Configuration.h
- - sed -i 's/\/\/#define LCD_I2C_PANELOLU2/#define LCD_I2C_PANELOLU2/g' Marlin/Configuration.h
- - rm -rf .build/
- - ino build -m mega2560
-
- - cp Marlin/Configuration.h.backup Marlin/Configuration.h
- - sed -i 's/\/\/#define LCD_I2C_VIKI/#define LCD_I2C_VIKI/g' Marlin/Configuration.h
- - rm -rf .build/
- - ino build -m mega2560
-
- - cp Marlin/Configuration.h.backup Marlin/Configuration.h
- - sed -i 's/\/\/#define FILAMENT_SENSOR/#define FILAMENT_SENSOR/g' Marlin/Configuration.h
- - rm -rf .build/
- - ino build -m mega2560
-
- - cp Marlin/Configuration.h.backup Marlin/Configuration.h
- - sed -i 's/\/\/#define ULTIMAKERCONTROLLER/#define ULTIMAKERCONTROLLER/g' Marlin/Configuration.h
- - sed -i 's/\/\/#define FILAMENT_SENSOR/#define FILAMENT_SENSOR/g' Marlin/Configuration.h
- - sed -i 's/\/\/#define FILAMENT_LCD_DISPLAY/#define FILAMENT_LCD_DISPLAY/g' Marlin/Configuration.h
- - rm -rf .build/
- - ino build -m mega2560
-
-
- - cp Marlin/example_configurations/delta/Configuration* Marlin/
- - rm -rf .build/
- - ino build -m mega2560
-
-
-
-
-
- - cp Marlin/example_configurations/SCARA/Configuration* Marlin/
- - rm -rf .build/
- - ino build -m mega2560
-
-
-
-
-
- - sed -i 's/#define MOTHERBOARD BOARD_RAMPS_13_EFB/#define MOTHERBOARD BOARD_DUEMILANOVE_328P/g' Marlin/Configuration.h
- - rm -rf .build/
- - ino build -m atmega328
|