|
|
@ -2,21 +2,19 @@ language: c |
|
|
|
before_install: |
|
|
|
before_install: |
|
|
|
- curl -Ls http://s3.voneicken.com/xtensa-lx106-elf-20160330.tgx | tar Jxf - |
|
|
|
- curl -Ls http://s3.voneicken.com/xtensa-lx106-elf-20160330.tgx | tar Jxf - |
|
|
|
- curl -Ls http://s3.voneicken.com/esp_iot_sdk_v2.0.0.p1.tgx | tar -C .. -Jxf - |
|
|
|
- curl -Ls http://s3.voneicken.com/esp_iot_sdk_v2.0.0.p1.tgx | tar -C .. -Jxf - |
|
|
|
after_script: |
|
|
|
|
|
|
|
- 'if [[ -n "$S3_BUCKET" && -n "$AWS_ACCESS_KEY_ID" ]]; then echo Uploading *.tgz |
|
|
|
|
|
|
|
to $S3_BUCKET; curl -Ls https://github.com/rlmcpherson/s3gof3r/releases/download/v0.5.0/gof3r_0.5.0_linux_amd64.tar.gz |
|
|
|
|
|
|
|
| tar zxf - gof3r_0.5.0_linux_amd64/gof3r; mv gof3r*/gof3r .; ls *.tgz | xargs -I |
|
|
|
|
|
|
|
{} ./gof3r put -b $S3_BUCKET -k esp-link/{} --acl public-read -p {}; ls *.tgz | |
|
|
|
|
|
|
|
xargs -I {} echo "URL: http://$S3_BUCKET/esp-link/{}"; fi' |
|
|
|
|
|
|
|
compiler: gcc |
|
|
|
|
|
|
|
env: |
|
|
|
|
|
|
|
script: |
|
|
|
script: |
|
|
|
- export XTENSA_TOOLS_ROOT=$PWD/xtensa-lx106-elf/bin/ |
|
|
|
- export XTENSA_TOOLS_ROOT=$PWD/xtensa-lx106-elf/bin/ |
|
|
|
- export BRANCH=$TRAVIS_BRANCH |
|
|
|
- export BRANCH=$TRAVIS_BRANCH |
|
|
|
|
|
|
|
- echo "Travis Branch is $TRAVIS_BRANCH" |
|
|
|
|
|
|
|
- echo "Travis Tag is $TRAVIS_TAG" |
|
|
|
|
|
|
|
- echo "Travis COMMIT is $TRAVIS_COMMIT" |
|
|
|
|
|
|
|
- echo "Travis COMMIT is $TRAVIS_COMMIT_RANGE" |
|
|
|
|
|
|
|
- echo "Dont forget to set VARIABLES for S3 to function. SEE gof3r README" |
|
|
|
- make release |
|
|
|
- make release |
|
|
|
notifications: |
|
|
|
notifications: |
|
|
|
email: false |
|
|
|
email: false |
|
|
|
deploy: |
|
|
|
deploy: |
|
|
|
|
|
|
|
overwrite: true |
|
|
|
skip_cleanup: true |
|
|
|
skip_cleanup: true |
|
|
|
provider: releases |
|
|
|
provider: releases |
|
|
|
api_key: |
|
|
|
api_key: |
|
|
@ -25,5 +23,5 @@ deploy: |
|
|
|
file: esp-link-master-*.t*gz |
|
|
|
file: esp-link-master-*.t*gz |
|
|
|
on: |
|
|
|
on: |
|
|
|
tags: true |
|
|
|
tags: true |
|
|
|
repo: fuzzball03/esp-link |
|
|
|
|
|
|
|
branch: master |
|
|
|
branch: master |
|
|
|
|
|
|
|
repo: fuzzball03/esp-link |
|
|
|