From 7dd45384e40d81b13bfdcea141c742042db8e3f4 Mon Sep 17 00:00:00 2001 From: David Schweikert Date: Sun, 2 Mar 2014 22:28:26 +0100 Subject: [PATCH] test bintray deployment --- .travis.yml | 13 +++++++++---- ci/deploy-bintray.sh | 6 ++++++ 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 ci/deploy-bintray.sh diff --git a/.travis.yml b/.travis.yml index 6506b11..d5159b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,14 @@ # travis-ci.org configuration language: c +env: + global: + - secure: "YP5bVNoYlLuwtLKDWhW7D4bexRWdYFPqz6J2DOuQAId4ids63JdGD7GOAZDfzizl1PtcoI3Kb97WWnFkPE2W6x/N4ad3K8lzIWZWx4kEpFRlbH7PJOF0Jt+rLXJzjkCW93XVC+vUY4bKAujT/iO8/B4lrxkX3/sCzILi7U5holE=" compiler: - - gcc - - clang + - gcc + - clang branches: - only: - - master + only: + - master install: - sudo apt-get remove -qq autoconf automake autotools-dev libtool - ci/build-1-autotools.sh @@ -14,3 +17,5 @@ install: script: - ci/build-2-install.sh - prove ci/test-*.pl +after_success: + - ci/deploy-bintray.sh diff --git a/ci/deploy-bintray.sh b/ci/deploy-bintray.sh new file mode 100644 index 0000000..bdc9043 --- /dev/null +++ b/ci/deploy-bintray.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +# upload to bintray.com/schweikert + +VERSION=3.9-rc1 +curl -T fping-$VERSION.tar.gz -uschweikert:$BINTRAY_API_KEY https://api.bintray.com/content/schweikert/generic/fping-rc/$VERSION/fping-$VERSION.tar.gz