Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
6d49d0ac
Commit
6d49d0ac
authored
Mar 05, 2015
by
zeroday
Browse files
Merge pull request #265 from GeorgeHahn/patch-2
Add TravisCI integration
parents
20e9cece
86a408d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
.travis.yml
0 → 100644
View file @
6d49d0ac
language
:
cpp
before_install
:
-
sudo apt-get install -y python-serial srecord
install
:
-
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
:
-
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=
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment