diff --git a/.travis.yml b/.travis.yml index e64179ba..267abae5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,9 +17,22 @@ before_script: - cd $HOME/arduino_ide/hardware - mkdir esp8266com - cd esp8266com - - git clone https://github.com/esp8266/Arduino.git esp8266 + - wget https://github.com/esp8266/Arduino/releases/download/2.0.0/esp8266-2.0.0.zip + - unzip esp8266-2.0.0.zip + - mv esp8266-2.0.0 esp8266 + - wget http://arduino.esp8266.com/versions/2.0.0/package_esp8266com_index.json + - mkdir esp8266/package + - mv package_esp8266com_index.json esp8266/package/package_esp8266com_index.template.json - cd esp8266/tools - python get.py + - cd .. + - head -11 ./platform.txt > pt.txt + - echo 'runtime.tools.xtensa-lx106-elf-gcc.path={runtime.platform.path}/tools/xtensa-lx106-elf' >> pt.txt + - echo 'runtime.tools.esptool.path={runtime.platform.path}/tools/esptool' >> pt.txt + - tail -105 ./platform.txt >> pt.txt + - rm -fr platform.txt + - mv pt.txt platform.txt + script: - cd $TRAVIS_BUILD_DIR @@ -28,7 +41,6 @@ script: - arduino --board esp8266com:esp8266:generic --save-prefs - arduino --get-pref sketchbook.path - build_sketch esp8266/esp8266.ino - notifications: email: diff --git a/README.md b/README.md index 4a4c80b7..a85ef439 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,7 @@ [![Join the chat at https://gitter.im/luc-github/ESP8266](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/luc-github/ESP8266?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) FW for ESP8266 used with 3D printer -Arduino ide 1.6.5 with latest master from ESP8266 git : [![Build Status](https://travis-ci.org/luc-github/ESP8266.svg?branch=master)](https://travis-ci.org/luc-github/ESP8266) -Arduino ide 1.6.5 with stable 2.0.0 from ESP8266 : [![Build Status](https://travis-ci.org/luc-github/ESP8266.svg?branch=stable-esp-module)](https://travis-ci.org/luc-github/ESP8266) +Arduino ide 1.6.5 with stable 2.0.0 from ESP8266 : [![Build Status](https://travis-ci.org/luc-github/ESP8266.svg?branch=master)](https://travis-ci.org/luc-github/ESP8266) ##Description Thanks to @disneysw for bringing this module idea