Skip to content

Commit

Permalink
Updated travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan committed Dec 22, 2016
1 parent a4f6cdc commit e760e5d
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,28 @@ script:
notifications:
email:
on_failure: change
after_success:
- coveralls
services:
- memcached
- docker
deploy:
provider: pypi
on:
tags: true
repo: InfluxGraph/influxgraph
distributions: "sdist"
user: pkittenis
password:
secure: JOX5bxlVltM05qNAT4HkbLsGaRj2C7g1i9p0ITAp23mvR6veyLCdBsoFD1FQ2AKR2sjGZWZCgLHW5yThJ9RdBe5s5x6E37937VtzXi03BhfbzExxcWei/x7O2DH9Fg1qhPvM9GHlSz6H/r4q9wnnL1LfRqWovbLrppEdKYvs5faB6pT1Ymrum5krTe1SRxfbjnShuqFXvr+SP78PKrzD8FciHHhxo4x4fmaO4/N6bMQeqWOrp3xg9a9x7xlqoCQZbSI2ClGeoKWHX0uYgHHC0FfC5PcSVvJhfSoZMW4MmsDvN3S7rYand3cmV0DE4njPWIYi9czwxVd1HuQQBzXpnwvs3faAIoXs9WepYLoPycWjiXHWxcfaJdCyJYaZouUHugKIDNuYS6Zdz03KXcatH0kOVWKiA3sGTz+20bZYNcfxWQtd1IC2lKKcVkXwNAZreII1nTg8rscxjCMSSV3JQFCzd/1dUKevL512ksQdyCSATQQZ7ZY9aIN+6SXgPsxGiyCPk+VL/pvkqQX2rHWU1wrgjmCwcKmGyon4aamyQb0Exe2KuyVFJ+ArHo7w2ZGV8GLPPG6z50rjavgljOqBDlUGipFO/CaweHIcqg2OxZHm3wAryr5LtJot8Sn+sb5LMB91mICM/AwisxghTLyCqvBSIPvuC/h9n0UW6NdKtjo=
secure: YjKb3mcrgeUmNFVzlJxBQcvTE//X8dERdVqQyqPYgNNMo/NZgR6++gzdYSB25AP14hlFXalGuRZ5x5/t0ngv+eDE2YeCczPtAWGS2KG+Tym6XaIMfLesQsfrJhIB+7pj5iWzXYxhyChKBjWLkM1sz3GhCPSMBngBim4uH24Fja3xIuCCi9dmCMxV/j2laCPwW870Lc/gR5kLLsS9Lf9tZmGz0t6yujRqfW3wtzbQZX0VVun5LaUo01l9Q6tIhEOLswjJt/jVjSqvG7NGap3EzIFtIIgiyx9yFRnpDdxeVEIbp/jyZJgWXM6Wx9VaGzQDBIJUHpF9ro5pEiFCXWrSE19L/Y+mVoZy6SwhI/RwVhmEoYuOguxbDtyQTewl0ldDo3nZ7H0v5xo2DEWqdcVOTGIBd9FErhXNOP3Nz35AiJj+ovnEl9jxJEQgZGXCQnFks/cHDjmENhXjPiqX6FJNohCp+hZmbx4OCZ5x98Zema9K8zN/UPNpxxZwA8zdR6rrQe8iVHZ34aber9gg0mmHkvw1zj9QxKjKDhZR7wvI2eBcUSYGyrqIXCOlTF5rXAIbJ/XGBuebkrMQStE/aPyv6NZQbCtszgPL6BTKgT69ADOm50twgjdews1lIlymI8cwasvoPkOLXebrjjiyAO6Xr/IiBdFQBpQ5aJR/pRnKje0=
after_deploy:
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" &&
cd docker &&
docker build -t ikuosu/influxgraph:${TRAVIS_TAG} . &&
docker push ikuosu/influxgraph:${TRAVIS_TAG};
after_success:
- if [ ! -z "$TRAVIS_TAG" ]; then
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" &&
cd docker &&
docker build -t ikuosu/influxgraph . &&
docker push ikuosu/influxgraph:${TRAVIS_TAG};
docker push ikuosu/influxgraph;
elif [ "$TRAVIS_BRANCH" == "master" ]; then
- coveralls
- if [ "$TRAVIS_BRANCH" == "master" ]; then
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" &&
cd docker &&
docker build -t ikuosu/influxgraph . &&
docker push ikuosu/influxgraph;
docker build -t ikuosu/influxgraph:latest . &&
docker push ikuosu/influxgraph:latest;
fi

0 comments on commit e760e5d

Please sign in to comment.