Skip to content

Commit 7a56b3c

Browse files
author
Luc
committed
Build/display stable only not git
1 parent 4073c10 commit 7a56b3c

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

.travis.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,22 @@ before_script:
1717
- cd $HOME/arduino_ide/hardware
1818
- mkdir esp8266com
1919
- cd esp8266com
20-
- git clone https://github.com/esp8266/Arduino.git esp8266
20+
- wget https://github.com/esp8266/Arduino/releases/download/2.0.0/esp8266-2.0.0.zip
21+
- unzip esp8266-2.0.0.zip
22+
- mv esp8266-2.0.0 esp8266
23+
- wget http://arduino.esp8266.com/versions/2.0.0/package_esp8266com_index.json
24+
- mkdir esp8266/package
25+
- mv package_esp8266com_index.json esp8266/package/package_esp8266com_index.template.json
2126
- cd esp8266/tools
2227
- python get.py
28+
- cd ..
29+
- head -11 ./platform.txt > pt.txt
30+
- echo 'runtime.tools.xtensa-lx106-elf-gcc.path={runtime.platform.path}/tools/xtensa-lx106-elf' >> pt.txt
31+
- echo 'runtime.tools.esptool.path={runtime.platform.path}/tools/esptool' >> pt.txt
32+
- tail -105 ./platform.txt >> pt.txt
33+
- rm -fr platform.txt
34+
- mv pt.txt platform.txt
35+
2336

2437
script:
2538
- cd $TRAVIS_BUILD_DIR
@@ -28,7 +41,6 @@ script:
2841
- arduino --board esp8266com:esp8266:generic --save-prefs
2942
- arduino --get-pref sketchbook.path
3043
- build_sketch esp8266/esp8266.ino
31-
3244

3345
notifications:
3446
email:

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
[![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)
44
FW for ESP8266 used with 3D printer
55

6-
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)
7-
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)
6+
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)
87

98
##Description
109
Thanks to @disneysw for bringing this module idea

0 commit comments

Comments
 (0)