|
|
@ -3,25 +3,25 @@ |
|
|
|
language: c |
|
|
|
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 Jxf - |
|
|
|
- curl -Ls http://s3.voneicken.com/esp_iot_sdk_v2.0.0.p1.tgx | tar Jxf - |
|
|
|
|
|
|
|
|
|
|
|
after_script: |
|
|
|
after_script: |
|
|
|
# upload to an S3 bucket, requires S3_BUCKET, AWS_ACCESS_KEY_ID and AWS_SECRET_KEY to be set |
|
|
|
# upload to an S3 bucket, requires S3_BUCKET, AWS_ACCESS_KEY_ID and AWS_SECRET_KEY to be set |
|
|
|
# in environment using travis' repository settings |
|
|
|
# in environment using travis' repository settings |
|
|
|
|
|
|
|
- export XTENSA_TOOLS_ROOT=./esp-open-sdk/xtensa-lx106-elf/bin/ |
|
|
|
|
|
|
|
- export SDK_BASE=./esp_iot_sdk_v2.0.0.p1 |
|
|
|
- "if [[ -n \"$S3_BUCKET\" && -n \"$AWS_ACCESS_KEY_ID\" ]]; then |
|
|
|
- "if [[ -n \"$S3_BUCKET\" && -n \"$AWS_ACCESS_KEY_ID\" ]]; then |
|
|
|
echo Uploading *.tgz to $S3_BUCKET; |
|
|
|
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; |
|
|
|
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 .; |
|
|
|
mv gof3r*/gof3r .; |
|
|
|
ls *.tgz | xargs -I {} ./gof3r put -b $S3_BUCKET -k espruino/{} --acl public-read -p {}; |
|
|
|
ls *.tgz | xargs -I {} ./gof3r put -b $S3_BUCKET -k espruino/{} --acl public-read -p {}; |
|
|
|
ls *.tgz | xargs -I {} echo \"URL: http://$S3_BUCKET/espruino/{}\"; |
|
|
|
ls *.tgz | xargs -I {} echo \"URL: http://$S3_BUCKET/espruino/{}\"; |
|
|
|
fi" |
|
|
|
fi" |
|
|
|
|
|
|
|
|
|
|
|
compiler: gcc |
|
|
|
compiler: gcc |
|
|
|
|
|
|
|
|
|
|
|
env: |
|
|
|
env: |
|
|
|
- XTENSA_TOOLS_ROOT=./esp-open-sdk/xtensa-lx106-elf/bin/ |
|
|
|
|
|
|
|
- SDK_BASE=./esp_iot_sdk_v2.0.0.p1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
script: make release |
|
|
|
script: make release |
|
|
|
|
|
|
|
|
|
|
|