summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2019-03-18 12:24:57 +0200
committerAlex Grönholm <alex.gronholm@nextday.fi>2019-03-18 12:24:57 +0200
commit92dc6cfcb09529cbde60e9e7d30b76d51fee38e7 (patch)
tree016eaea4b6a615652d5e96bb5c5906d2ce0dbaf2
parent33aa9206e094a240d478821c03dc911e6bbb4151 (diff)
downloadapscheduler-92dc6cfcb09529cbde60e9e7d30b76d51fee38e7.tar.gz
Refactored the Travis configuration
-rw-r--r--.travis.yml31
1 files changed, 12 insertions, 19 deletions
diff --git a/.travis.yml b/.travis.yml
index bd80df3..697588c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,44 +13,43 @@ jobs:
include:
- stage: static analysis
env: TOXENV=flake8
- before_install: skip
- after_success: skip
- - stage: test
+ - &test
+ stage: test
env: TOXENV=pypy
python: pypy2.7-6.0
- after_success: skip
+ before_install: docker-compose up -d
+ after_success:
+ - pip install coveralls
+ - coveralls
- - stage: test
+ - <<: *test
env: TOXENV=pypy3
python: pypy3.5-6.0
- after_success: skip
- - stage: test
+ - <<: *test
env: TOXENV=py27
python: "2.7"
- - stage: test
+ - <<: *test
env: TOXENV=py34
python: "3.4"
- - stage: test
+ - <<: *test
env: TOXENV=py35
python: "3.5"
- - stage: test
+ - <<: *test
env: TOXENV=py36
python: "3.6"
- - stage: test
+ - <<: *test
env: TOXENV=py37
python: "3.7"
- stage: deploy to pypi
- before_install: skip
install: true
script: skip
- after_success: skip
deploy:
provider: pypi
user: agronholm
@@ -60,16 +59,10 @@ jobs:
on:
tags: true
-before_install: docker-compose up -d
-
install: pip install tox
script: tox
-after_success:
- - pip install coveralls
- - coveralls
-
notifications:
webhooks:
urls: