dukpy/.travis.yml

55 lines
998 B
YAML
Raw Normal View History

os: linux
dist: trusty
sudo: false
group: edge
2015-11-06 15:21:19 +00:00
language: python
python:
2017-09-28 12:03:54 +00:00
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
- &mainstream_python 3.6
- nightly
2015-11-06 15:21:19 +00:00
install:
2017-09-28 12:06:40 +00:00
- travis_retry pip install --pre -e .[testing,webassets]
2015-11-06 15:21:19 +00:00
script:
2017-09-28 12:03:54 +00:00
- nosetests -v --with-coverage --cover-package=dukpy --cover-erase
- if python -c "import sys; sys.exit(sys.version_info < (2,7))"; then
python setup.py check -rm;
fi
- if python -c "import sys; sys.exit(sys.version_info < (3,6))"; then
python setup.py check -s;
fi
2015-11-06 15:21:19 +00:00
after_success:
- coveralls
2017-09-29 08:49:42 +00:00
stages:
- test
- name: deploy
if: tag IS present
jobs:
2017-09-29 09:12:25 +00:00
fast_finish: true
allow_failures:
- python: nightly
include:
- stage: deploy
python: *mainstream_python
install: skip
script: skip
deploy:
provider: pypi
on:
tags: true
all_branches: true
user: amol-
# just source dist, because binary wheel requires extra work
distributions: sdist
password:
secure: YOUR_ENCRYPTED_PASSWORD_HERE