Skip to content

Commit b1b9de2

Browse files
Merge pull request #79 from nicoddemus/ci-pytest
Test with pytest from master/features
2 parents ba4d35c + 04a0257 commit b1b9de2

File tree

3 files changed

+50
-28
lines changed

3 files changed

+50
-28
lines changed

.travis.yml

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,44 @@
11
sudo: false
22
language: python
3-
python:
4-
- '2.6'
5-
- '2.7'
6-
- '3.3'
7-
- '3.4'
8-
- '3.5'
9-
- '3.6'
10-
- pypy
11-
- nightly
12-
13-
# command to install dependencies
14-
install: "pip install -U tox"
15-
16-
# command to run tests
17-
env:
18-
matrix:
19-
- TOXENV=py-pytest28
20-
- TOXENV=py-pytest29
21-
- TOXENV=py-pytest30
223

234
matrix:
245
include:
25-
- python: '2.7'
26-
env: TOXENV=check
276
- python: '3.6'
287
env: TOXENV=check
8+
- python: '3.6'
9+
env: TOXENV=docs
10+
- python: '2.6'
11+
env: TOXENV=py26-pytestrelease
2912
- python: '2.7'
30-
env: TOXENV=benchmark
13+
env: TOXENV=py27-pytestrelease
14+
- python: '3.3'
15+
env: TOXENV=py33-pytestrelease
16+
- python: '3.4'
17+
env: TOXENV=py34-pytestrelease
18+
- python: '3.5'
19+
env: TOXENV=py35-pytestrelease
20+
- python: '3.6'
21+
env: TOXENV=py36-pytestrelease
22+
- python: 'pypy'
23+
env: TOXENV=pypy-pytestrelease
24+
- python: 'nightly'
25+
env: TOXENV=py37-pytestrelease
26+
- python: '2.7'
27+
env: TOXENV=py27-pytestmaster
28+
- python: '2.7'
29+
env: TOXENV=py27-pytestfeatures
30+
- python: '3.6'
31+
env: TOXENV=py36-pytestmaster
32+
- python: '3.6'
33+
env: TOXENV=py36-pytestfeatures
3134
- python: '3.6'
3235
env: TOXENV=benchmark
3336

37+
install:
38+
- pip install -U tox
39+
3440
script:
35-
- tox --recreate -e $TOXENV
41+
- tox
3642

3743
notifications:
3844
irc:

appveyor.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
environment:
2+
matrix:
3+
# note: please use "tox --listenvs" to populate the build matrix below
4+
- TOXENV: "check"
5+
- TOXENV: "docs"
6+
- TOXENV: "py26-pytestrelease"
7+
- TOXENV: "py27-pytestrelease"
8+
- TOXENV: "py34-pytestrelease"
9+
- TOXENV: "py35-pytestrelease"
10+
- TOXENV: "py36-pytestrelease"
11+
- TOXENV: "pypy-pytestrelease"
12+
- TOXENV: "py27-pytestmaster"
13+
- TOXENV: "py27-pytestfeatures"
14+
- TOXENV: "py36-pytestmaster"
15+
- TOXENV: "py36-pytestfeatures"
116

217
install:
318
- echo Installed Pythons
@@ -18,4 +33,3 @@ build: false # Not a C# project, build stuff at the test step instead.
1833

1934
test_script:
2035
- C:\Python35\python -m tox
21-

tox.ini

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
[tox]
2-
envlist=check,py{26,27,34,35,36,py}-pytest{28,29,30}
2+
envlist=check,docs,py{26,27,34,35,36,py}-pytestrelease,py{27,36}-pytest{master,features}
33

44
[testenv]
55
commands=py.test {posargs:testing/}
6+
setenv=
7+
_PYTEST_SETUP_SKIP_PLUGGY_DEP=1
68
deps=
7-
pytest28: pytest~=2.8.0
8-
pytest29: pytest~=2.9.0
9-
pytest30: pytest~=3.0.0
9+
pytestrelease: pytest
10+
pytestmaster: git+https://github.com/pytest-dev/pytest.git@master
11+
pytestfeatures: git+https://github.com/pytest-dev/pytest.git@features
1012

1113
[testenv:benchmark]
1214
commands=py.test {posargs:testing/benchmark.py}

0 commit comments

Comments
 (0)