Bug 1608150 [wpt PR 21112] - Add missing space in `./wpt lint` command line docs...
[gecko.git] / third_party / python / pytest / .travis.yml
blob1d092149b5d5826c2165edfb432b41fffa2b43b8
1 sudo: false
2 language: python
3 stages:
4 - linting
5 - test
6 - deploy
7 python:
8   - '3.6'
9 install:
10   - pip install --upgrade --pre tox
11 env:
12   matrix:
13     # coveralls is not listed in tox's envlist, but should run in travis
14     - TOXENV=coveralls
15     # note: please use "tox --listenvs" to populate the build matrix below
16     # please remove the linting env in all cases
17     - TOXENV=py27
18     - TOXENV=py34
19     - TOXENV=py36
20     - TOXENV=py27-pexpect
21     - TOXENV=py27-xdist
22     - TOXENV=py27-trial
23     - TOXENV=py27-numpy
24     - TOXENV=py27-pluggymaster
25     - TOXENV=py36-pexpect
26     - TOXENV=py36-xdist
27     - TOXENV=py36-trial
28     - TOXENV=py36-numpy
29     - TOXENV=py36-pluggymaster
30     - TOXENV=py27-nobyte
31     - TOXENV=doctesting
32     - TOXENV=docs
34 jobs:
35   include:
36     - env: TOXENV=pypy
37       python: 'pypy-5.4'
38     - env: TOXENV=py35
39       python: '3.5'
40     - env: TOXENV=py35-freeze
41       python: '3.5'
42     - env: TOXENV=py37
43       python: 'nightly'
45     - stage: deploy
46       python: '3.6'
47       env:
48       install: pip install -U setuptools setuptools_scm
49       script: skip
50       deploy:
51         provider: pypi
52         user: nicoddemus
53         distributions: sdist bdist_wheel
54         skip_upload_docs: true
55         password:
56           secure: xanTgTUu6XDQVqB/0bwJQXoDMnU5tkwZc5koz6mBkkqZhKdNOi2CLoC1XhiSZ+ah24l4V1E0GAqY5kBBcy9d7NVe4WNg4tD095LsHw+CRU6/HCVIFfyk2IZ+FPAlguesCcUiJSXOrlBF+Wj68wEvLoK7EoRFbJeiZ/f91Ww1sbtDlqXABWGHrmhPJL5Wva7o7+wG7JwJowqdZg1pbQExsCc7b53w4v2RBu3D6TJaTAzHiVsW+nUSI67vKI/uf+cR/OixsTfy37wlHgSwihYmrYLFls3V0bSpahCim3bCgMaFZx8S8xrdgJ++PzBCof2HeflFKvW+VCkoYzGEG4NrTWJoNz6ni4red9GdvfjGH3YCjAKS56h9x58zp2E5rpsb/kVq5/45xzV+dq6JRuhQ1nJWjBC6fSKAc/bfwnuFK3EBxNLkvBssLHvsNjj5XG++cB8DdS9wVGUqjpoK4puaXUWFqy4q3S9F86HEsKNgExtieA9qNx+pCIZVs6JCXZNjr0I5eVNzqJIyggNgJG6RyravsU35t9Zd9doL5g4Y7UKmAGTn1Sz24HQ4sMQgXdm2SyD8gEK5je4tlhUvfGtDvMSlstq71kIn9nRpFnqB6MFlbYSEAZmo8dGbCquoUc++6Rum208wcVbrzzVtGlXB/Ow9AbFMYeAGA0+N/K1e59c=
57         on:
58           tags: true
59           repo: pytest-dev/pytest
60     - stage: linting
61       python: '3.6'
62       env:
63       install:
64       - pip install pre-commit
65       - pre-commit install-hooks
66       script:
67       - pre-commit run --all-files
69 script: tox --recreate
71 notifications:
72   irc:
73     channels:
74       - "chat.freenode.net#pytest"
75     on_success: change
76     on_failure: change
77     skip_join: true
78   email:
79     - pytest-commit@python.org
80 cache:
81     directories:
82         - $HOME/.cache/pip
83         - $HOME/.cache/pre-commit