]> git.gsnw.org Git - fping.git/commitdiff
test bintray deployment
authorDavid Schweikert <david@schweikert.ch>
Sun, 2 Mar 2014 21:28:26 +0000 (22:28 +0100)
committerDavid Schweikert <david@schweikert.ch>
Sun, 2 Mar 2014 21:28:26 +0000 (22:28 +0100)
.travis.yml
ci/deploy-bintray.sh [new file with mode: 0644]

index 6506b11ea7dab13028839c5f26fad41302c15de5..d5159b44ca2a4499ebac0f533b4ca18368f631e9 100644 (file)
@@ -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 (file)
index 0000000..bdc9043
--- /dev/null
@@ -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