dukpy/.travis.yml

48 lines
763 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
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:
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