Final Travis fiddling for now, I think.

This commit is contained in:
Jared Boone 2016-02-04 11:18:03 -08:00
parent cf6a21364e
commit 2e7dbe6d44
2 changed files with 13 additions and 7 deletions

View File

@ -1,5 +1,7 @@
language: cpp
cache: apt
before_script:
- wget https://launchpad.net/gcc-arm-embedded/5.0/5-2015-q4-major/+download/gcc-arm-none-eabi-5_2-2015q4-20151219-linux.tar.bz2 -O /tmp/gcc-arm.tar.bz2
- tar -xf /tmp/gcc-arm.tar.bz2
@ -13,13 +15,11 @@ script:
- make release
- popd
after_script:
- echo ########################################################################
- echo
- echo Correct download URL is:
- echo https://portapack-h1-builds.s3.amazonaws.com/$TRAVIS_REPO_SLUG/$TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER/firmware/portapack-h1-firmware-$TRAVIS_COMMIT.tar.bz2
- echo
- echo ########################################################################
after_success:
- travis/echo_download_url.sh
after_deploy:
- travis/echo_download_url.sh
addons:
apt_packages:

6
travis/echo_download_url.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
echo -e "########################################################################\n\n"
echo -e "Correct download URL is:\n"
echo -e "https://portapack-h1-builds.s3.amazonaws.com/$TRAVIS_REPO_SLUG/$TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER/firmware/portapack-h1-firmware-$TRAVIS_COMMIT.tar.bz2\n\n"
echo -e "########################################################################\n"