summaryrefslogtreecommitdiffstats
path: root/.travis/deploy-if-have-key
diff options
context:
space:
mode:
authorLennart Weller <lhw@ring0.de>2017-07-27 09:55:47 +0000
committerLennart Weller <lhw@ring0.de>2017-07-27 09:55:47 +0000
commita133c9c3b637b1dbe7b5b053f7e2572c1950cead (patch)
tree2207939a88e96bca329457f40a9d9d18ab659dc1 /.travis/deploy-if-have-key
parentNew upstream version 1.6.0+dfsg (diff)
downloadnetdata-a133c9c3b637b1dbe7b5b053f7e2572c1950cead.tar.xz
netdata-a133c9c3b637b1dbe7b5b053f7e2572c1950cead.zip
New upstream version 1.7.0+dfsgupstream/1.7.0+dfsg
Diffstat (limited to '.travis/deploy-if-have-key')
-rwxr-xr-x.travis/deploy-if-have-key7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis/deploy-if-have-key b/.travis/deploy-if-have-key
index 50e69b939..1933eeb2e 100755
--- a/.travis/deploy-if-have-key
+++ b/.travis/deploy-if-have-key
@@ -32,6 +32,12 @@ then
exit 0
fi
+if [ "$TRAVIS_OS_NAME" != "linux" ]
+then
+ echo "Building non-linux version - skipping deployment to website"
+ exit 0
+fi
+
if [ "$CC" != "gcc" ]
then
echo "Building non-gcc version - skipping deployment to website"
@@ -41,4 +47,5 @@ fi
ssh-keyscan -H firehol.org >> ~/.ssh/known_hosts
ssh travis@firehol.org mkdir -p uploads/netdata/$TRAVIS_BRANCH/
scp -p *.tar.* travis@firehol.org:uploads/netdata/$TRAVIS_BRANCH/
+scp -p *.gz.run* travis@firehol.org:uploads/netdata/$TRAVIS_BRANCH/
ssh travis@firehol.org touch uploads/netdata/$TRAVIS_BRANCH/complete.txt