From 06e9df18b37f7b4e932006ad81170e7f2482f458 Mon Sep 17 00:00:00 2001 From: Jan Garaj Date: Sat, 22 Oct 2016 23:30:14 +0100 Subject: [PATCH] Travis --- .travis.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 50cc555..efd5c41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,14 +11,6 @@ script: echo "OK" after_success: - docker version -- docker rmi monitoringartist/zabbix-xxl:latest -- export ZVERSION=$(docker run --rm -ti monitoringartist/zabbix-xxl:latest zabbix_agentd -V | grep ^zabbix_agentd | awk -F'\\(Zabbix\\) ' '{print $2}' | sed -e 's/[\t ]$//g;/^$/d') -- sed -i "s#.*\"version\":.*#\"version\": \"$ZVERSION\",#" latest -- export DATE=`date +"%Y-%m-%d %H:%M:%S"` -- git commit -am "latest version update $DATE" -- if [ $? -eq 0 ]; then -- git push git@github.com:monitoringartist/zabbix-xxl.git master -- fi - "cd /home/travis/build/monitoringartist/zabbix-xxl/" - "bash ./artifacts/deploy.sh"