diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2017-02-02 14:31:08 +0300 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2017-02-02 17:23:20 +0300 |
commit | 3a97d0c9d12011de5cc78f033560fb987036c658 (patch) | |
tree | d8fe8ef54ee7b173a2be665402b0d6e89414c23d /scripts | |
parent | 2af75db4cc2bce9ec799f3c209509a869a1bf29f (diff) |
travis: add deploy support
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis-build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/travis-build.sh b/scripts/travis-build.sh index 5601901f1..8a0c53acd 100755 --- a/scripts/travis-build.sh +++ b/scripts/travis-build.sh @@ -90,6 +90,10 @@ elif [ "$BUILD_TYPE" == "snap" ]; then fi docker_exec make $make_target -C build + elif [ "$TRAVIS_BUILD_STEP" == "deploy-unstable" ]; then + docker_exec make snap-push-$SNAP_UNSTABLE_CHANNEL -C build + elif [ "$TRAVIS_BUILD_STEP" == "deploy-release" ]; then + docker_exec make snap-push-$SNAP_RELEASE_CHANNEL -C build fi else echo 'No $BUILD_TYPE defined' |