From cc7d86eeda2ca6db798981127cc13af9ef05c982 Mon Sep 17 00:00:00 2001 From: Marcus Fuchs Date: Tue, 3 Jul 2018 13:43:42 +0200 Subject: [PATCH] Add auto-deploy to .travis.yml --- .travis.yml | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4d6d295..3c4791d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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