From 1a390faef1bc1cfc3ae1d8c36d7c34de72e2f050 Mon Sep 17 00:00:00 2001 From: George Hahn Date: Wed, 4 Mar 2015 20:22:02 -0500 Subject: [PATCH 1/4] Add TravisCI build status --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index dbf3cace..75a21312 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # **NodeMcu** # version 0.9.5 + +[![Build Status](https://travis-ci.org/nodemcu/nodemcu-firmware.svg)](https://travis-ci.org/nodemcu/nodemcu-firmware) + ###A lua based firmware for wifi-soc esp8266 Build on [ESP8266 sdk 0.9.5](http://bbs.espressif.com/viewtopic.php?f=5&t=154)
Lua core based on [eLua project](http://www.eluaproject.net/)
From fbf42d5472afd5447cea133ceaae866054d6d984 Mon Sep 17 00:00:00 2001 From: George Hahn Date: Wed, 4 Mar 2015 21:15:27 -0500 Subject: [PATCH 2/4] Add basic .travis.yml --- .travis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..2f5eedfc --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: cpp +before_install: +- sudo apt-get install -y python-serial srecord +install: +- wget https://github.com/GeorgeHahn/nodemcu-firmware/blob/travis/tools/esp-open-sdk.tar.gz -O tools/esp-open-sdk.tar.gz +- tar -zxvf tools/esp-open-sdk.tar.gz +- export PATH=$PATH:$PWD/esp-open-sdk/sdk:$PWD/esp-open-sdk/xtensa-lx106-elf/bin +script: +- make all +- cd bin/ +- file_name="nodemcu-firmware_v${TRAVIS_TAG}.${TRAVIS_BUILD_NUMBER}.bin" +- srec_cat -output ${file_name} -binary 0x00000.bin -binary -fill 0xff 0x00000 0x10000 0x10000.bin -binary -offset 0x10000 +#deploy: +# provider: releases +# api_key: "${GITHUB_OAUTH}" +# file: "$TRAVIS_BUILD_DIR/bin/${file_name}" +# skip_cleanup: true +# on: +# tags: true +#env: +# global: +# - secure: OVFK1zFj8VFVITWIGR2UlinVoTFNjlcQZeFt4xpn+B0wLz1mAWnR//F49qLkAcZt2ca8ogbQwEyDenFfkcSKOkUpvivyDatkHEt4WAhdXeg2y3zdHjX7NntscQBpTUmwjhV/0OA0qV9sNLK5r1t45oDh2NVcpfEQTJP5oYKfe6I= From 86a408d3e092967ac4ac00b9da44da2018647903 Mon Sep 17 00:00:00 2001 From: George Hahn Date: Wed, 4 Mar 2015 21:19:54 -0500 Subject: [PATCH 3/4] Fix toolchain URL --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2f5eedfc..67e4771b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: cpp before_install: - sudo apt-get install -y python-serial srecord install: -- wget https://github.com/GeorgeHahn/nodemcu-firmware/blob/travis/tools/esp-open-sdk.tar.gz -O tools/esp-open-sdk.tar.gz +- wget https://github.com/GeorgeHahn/nodemcu-firmware/raw/travis/tools/esp-open-sdk.tar.gz -O tools/esp-open-sdk.tar.gz - tar -zxvf tools/esp-open-sdk.tar.gz - export PATH=$PATH:$PWD/esp-open-sdk/sdk:$PWD/esp-open-sdk/xtensa-lx106-elf/bin script: From 6986d9e5aa2de1b90840bb182aef716c4dbe18f8 Mon Sep 17 00:00:00 2001 From: funshine Date: Thu, 5 Mar 2015 11:36:37 +0800 Subject: [PATCH 4/4] update travis.yml --- .travis.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 67e4771b..45aedeab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,13 +10,12 @@ script: - cd bin/ - file_name="nodemcu-firmware_v${TRAVIS_TAG}.${TRAVIS_BUILD_NUMBER}.bin" - srec_cat -output ${file_name} -binary 0x00000.bin -binary -fill 0xff 0x00000 0x10000 0x10000.bin -binary -offset 0x10000 -#deploy: -# provider: releases -# api_key: "${GITHUB_OAUTH}" -# file: "$TRAVIS_BUILD_DIR/bin/${file_name}" -# skip_cleanup: true -# on: -# tags: true -#env: -# global: -# - secure: OVFK1zFj8VFVITWIGR2UlinVoTFNjlcQZeFt4xpn+B0wLz1mAWnR//F49qLkAcZt2ca8ogbQwEyDenFfkcSKOkUpvivyDatkHEt4WAhdXeg2y3zdHjX7NntscQBpTUmwjhV/0OA0qV9sNLK5r1t45oDh2NVcpfEQTJP5oYKfe6I= +deploy: + provider: releases + api_key: + secure: Swecz5lWvsuSbchSbVQ1rmCPN9nQIN5p/HlZNIEdEgAgnoLcJxRV4P8poVTB37jiA8Pck+8x2nWXpg74Rqik0i3KlPNvDfg5o4rIazWLNs4bc1Tbcpt44XAzFKKLYnDnWQUGcqjk7BcAXuNAF2X/fPBCVhFbHVg3Z7cDb32RsNw= + file: "$TRAVIS_BUILD_DIR/bin/${file_name}" + skip_cleanup: true + on: + tags: true + repo: nodemcu/nodemcu-firmware