Skip to content

Commit

Permalink
Merge dc3456d into d53d3f3
Browse files Browse the repository at this point in the history
  • Loading branch information
lipemorais committed Aug 19, 2017
2 parents d53d3f3 + dc3456d commit 52c12ee
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,29 @@
language: python
python: 3.5
cache:
directories:
- $HOME/virtualenv/python3.5.3/
env:
- TEST_SUITE=unit
- TEST_SUITE=journey
python: 3.5

jobs:
include:
- stage: unit
script: coverage run -m unittest discover tests/unit

- stage: journey
script: coverage run -m unittest discover tests/journey

- stage: deploy
script: skip
deploy:
provider: pypi
user: serenata
password: $PYPI_PASSWORD
distributions: "sdist bdist_wheel"
on:
branch: master

install:
- python setup.py develop
- pip install coveralls
script: coverage run -m unittest discover tests/$TEST_SUITE
after_success: coveralls

before_deploy: "echo 'Starting deploy to PyPI...'"
deploy:
provider: pypi
user: serenata
password: $PYPI_PASSWORD
distributions: "sdist bdist_wheel"
on:
branch: master
after_deploy: "echo 'Deployment finished!'"
after_success: coveralls

0 comments on commit 52c12ee

Please sign in to comment.