From 2e7dbe6d44ba570ba2bb375f4ca1410c8a96af4b Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Thu, 4 Feb 2016 11:18:03 -0800 Subject: [PATCH] Final Travis fiddling for now, I think. --- .travis.yml | 14 +++++++------- travis/echo_download_url.sh | 6 ++++++ 2 files changed, 13 insertions(+), 7 deletions(-) create mode 100755 travis/echo_download_url.sh diff --git a/.travis.yml b/.travis.yml index 75e81e91..40b88ade 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/travis/echo_download_url.sh b/travis/echo_download_url.sh new file mode 100755 index 00000000..f8c897b7 --- /dev/null +++ b/travis/echo_download_url.sh @@ -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"