Skip to content

Commit

Permalink
Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jangaraj committed Oct 22, 2016
1 parent 9ccae75 commit 06e9df1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]:monitoringartist/zabbix-xxl.git master
- fi
- "cd /home/travis/build/monitoringartist/zabbix-xxl/"
- "bash ./artifacts/deploy.sh"

Expand Down

0 comments on commit 06e9df1

Please sign in to comment.