diff options
author | Daniel Agar <daniel@agar.ca> | 2015-01-20 01:09:20 -0500 |
---|---|---|
committer | Daniel Agar <daniel@agar.ca> | 2015-01-20 01:09:20 -0500 |
commit | 275a9df928590fbe590fcfed9eb30d794fb3fa6b (patch) | |
tree | 055467562de4a1540de406469bf24b95069e7d9d | |
parent | fa4d09018527676d3803582a432df8e25c8e5010 (diff) | |
download | px4-firmware-275a9df928590fbe590fcfed9eb30d794fb3fa6b.tar.gz px4-firmware-275a9df928590fbe590fcfed9eb30d794fb3fa6b.tar.bz2 px4-firmware-275a9df928590fbe590fcfed9eb30d794fb3fa6b.zip |
fixes #1621 - travis after_script upload all Images to s3 with build status and index
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index fd2a6b6d1..fcc273437 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,6 +52,16 @@ script: - echo -en 'travis_fold:end:script.3\\r' - zip Firmware.zip Images/*.px4 +after_script: + - git clone git://github.com/PX4/CI-Tools.git + - ./CI-Tools/s3cmd-configure +# upload newest build for this branch with s3 index + - ./CI-Tools/s3cmd-put Images/px4*.px4 CI-Tools/directory/index.html $TRAVIS_BRANCH/ +# archive newest build by date with s3 index + - ./CI-Tools/s3cmd-put Images/px4*.px4 CI-Tools/directory/index.html $TRAVIS_BRANCH/archives/`date "+%Y-%m-%d"`-$TRAVIS_BUILD_ID/ +# upload top level index.html and timestamp.html + - ./CI-Tools/s3cmd-put CI-Tools/index.html timestamp.html / + # We use an encrypted env variable to ensure this only executes when artifacts are uploaded. #after_script: # - echo "Branch $TRAVIS_BRANCH (pull request: $TRAVIS_PULL_REQUEST) ready for flight testing." >> $PX4_REPORT |