Skip to content

Commit

Permalink
Add auto-deploy to .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Fuchs committed Jul 3, 2018
1 parent af0a223 commit cc7d86e
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
language: python

python:
- 2.7
- 3.5
- 3.6

- 2.7
- 3.5
- 3.6
install:
- pip install --upgrade pip setuptools wheel
- pip install -e .
- pip install pytest-cov
- pip install coveralls

before_script: # configure a headless display to test plot generation
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start

- pip install --upgrade pip setuptools wheel
- pip install -e .
- pip install pytest-cov
- pip install coveralls
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
script:
- py.test --mpl

- py.test --mpl
after_success:
- coveralls
- coveralls
deploy:
provider: pypi
user: "uesgraphs-deploy"
password:
secure: XuTkCrCCaKVBV4ELw+6JVgG2ZjNoU7/UlM+XyfTmiyDap6KoYNj6+lPaCMbKxO57F5E5QPi07Hx3+bzNxLVHTolCNinxIqLSkwHB4k06IOAREyRt7AmK4VS9kMvK0mxMtzpM9tl62E9iDTkSDgQLJBFJ3CKoCCBYcJ5r6VH2qGlEl+RdTdc62Au96NJNxjTocjo2/g+WMy9qHbD3J6O81imHfzpVx91LJtjIzyYv/FusubcIF1MiQJtQOoJhAD1IxiAx+7GHWPRxZwjAaTvHzNUp90Y3m4JNFBIvJPr1+2ooaQp9O3m03dJytSASghwonTsINnvi7MjZYKPBSgdgrG9ZRY4Zm1jYVEc4az+H85XAcn7Lu/jqiF+zYvAAvEIj7LiBr+wvC/OXJFSYl0V2YezhVGz98Ghw6/EmDVZpZCQwnl97OWUuQ+TFAQEGzWKYNJhODfSAvdSeiAC0blDnm1rISYgnDm2Eui7lyjRfworPxNIdeEe6ZfabD1Oh+uQubSw923Bw9sH10MFV6m2S7WbaAQIEoLoaSXDyHr6Wh3tz/86n8J1nfsAt/Blb4hznTgz8oEwULulbfmUr+1tLXtZILlKhwWecYeXn+VCiwmbTAWDkcojGqteHZWBpILKn/PscGiJBmFZo+6VaxoFxtVUDlY/EoVfpE3udgKgUfPE=
on:
tags: true

0 comments on commit cc7d86e

Please sign in to comment.