attrs/.travis.yml

78 lines
1.1 KiB
YAML
Raw Normal View History

dist: xenial
group: travis_latest
2015-07-26 11:54:28 +00:00
cache:
directories:
- $HOME/.cache/pip
2015-01-27 16:53:17 +00:00
language: python
2015-09-22 08:41:38 +00:00
matrix:
fast_finish: true
2015-09-22 08:41:38 +00:00
include:
# lint
- python: "3.7"
stage: lint
env: TOXENV=lint
- python: "3.7"
env: TOXENV=manifest
- python: "3.7"
env: TOXENV=typing
# test
2015-09-22 08:41:38 +00:00
- python: "2.7"
stage: test
2015-09-22 08:41:38 +00:00
env: TOXENV=py27
- python: "3.4"
env: TOXENV=py34
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "pypy"
env: TOXENV=pypy
dist: trusty
- python: "pypy3"
2017-08-03 15:04:48 +00:00
env: TOXENV=pypy3
dist: trusty
2018-07-05 05:39:16 +00:00
- python: "3.7"
env: TOXENV=py37
2015-09-22 08:41:38 +00:00
# Prevent breakage by new releases
- python: "3.7-dev"
env: TOXENV=py37
# Docs
2019-02-25 15:28:53 +00:00
- python: "3.7"
stage: docs
2015-09-22 08:41:38 +00:00
env: TOXENV=docs
- python: "3.7"
env: TOXENV=pypi-description
- python: "3.7"
2017-08-20 05:58:08 +00:00
env: TOXENV=changelog
2015-09-22 08:41:38 +00:00
allow_failures:
- python: "3.7-dev"
2015-01-27 16:53:17 +00:00
install:
- pip install --upgrade tox
2015-01-27 16:53:17 +00:00
2016-02-20 08:34:45 +00:00
2015-01-27 16:53:17 +00:00
script:
2015-12-19 12:04:01 +00:00
- tox
2015-07-03 14:09:22 +00:00
2016-02-20 08:34:45 +00:00
2015-07-03 14:09:22 +00:00
before_install:
- pip install codecov
2015-01-27 16:53:17 +00:00
2016-02-20 08:34:45 +00:00
2015-01-27 16:53:17 +00:00
after_success:
2015-10-20 05:11:14 +00:00
- tox -e coverage-report
2015-07-03 14:09:22 +00:00
- codecov
2015-01-27 16:53:17 +00:00
2016-02-20 08:34:45 +00:00
2015-01-27 16:53:17 +00:00
notifications:
email: false