Skip to content

Commit 461f212

Browse files
committed
Switch to build stages on Travis CI
1 parent 0c442e4 commit 461f212

1 file changed

Lines changed: 50 additions & 51 deletions

File tree

.travis.yml

Lines changed: 50 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,51 @@
1-
matrix:
1+
language: python
2+
jobs:
23
include:
3-
- language: node_js
4-
install:
5-
- npm install grunt-cli grunt grunt-contrib-qunit
6-
script:
7-
- grunt test
8-
- language: python
9-
python: 2.7
10-
env: TOXENV=flake8
11-
- language: python
12-
python: 2.7
13-
env: TOXENV=py27
14-
- language: python
15-
python: 2.7
16-
env: TOXENV=py27-ansi2html
17-
- language: python
18-
python: 3.6
19-
env: TOXENV=flake8
20-
- language: python
21-
python: 3.6
22-
env: TOXENV=py36
23-
- language: python
24-
python: 3.6
25-
env: TOXENV=py36-ansi2html
26-
- language: python
27-
python: pypy
28-
env: TOXENV=pypy
29-
- language: python
30-
python: pypy
31-
env: TOXENV=pypy-ansi2html
32-
- language: python
33-
python: pypy3
34-
env: TOXENV=pypy3
35-
- language: python
36-
python: pypy3
37-
env: TOXENV=pypy3-ansi2html
38-
install:
39-
- pip install tox
40-
script:
41-
- tox
42-
deploy:
43-
provider: pypi
44-
user: davehunt
45-
password:
46-
secure: QTNaSfTEZnCEINpCfzdOiOPZ1s6co9Fz2cEt5zv/dSZAJCiKNZvvbMzsOsRMQl1MJvp+cSHiuOir46vEGxzh2+FIl+RRSlENqF2G7jGJpfJfukBxYAhSvt9ZLT4UyBbgYz5sv9A4zs+Yo72xAS9eP+zf5bDVaQh0EzudUbb0Mv4=
47-
distributions: sdist bdist_wheel
48-
on:
49-
tags: true
50-
repo: pytest-dev/pytest-html
51-
python: 3.6
52-
condition: "$TOXENV = py36"
4+
- stage:
5+
language: node_js
6+
install: npm install grunt-cli grunt grunt-contrib-qunit
7+
script: grunt test
8+
- stage:
9+
python: 3.6
10+
env: TOXENV=flake8
11+
- stage:
12+
python: 2.7
13+
env: TOXENV=py27
14+
- stage:
15+
python: 2.7
16+
env: TOXENV=py27-ansi2html
17+
- stage:
18+
python: 3.6
19+
env: TOXENV=py36
20+
- stage:
21+
python: 3.6
22+
env: TOXENV=py36-ansi2html
23+
- stage:
24+
python: pypy
25+
env: TOXENV=pypy
26+
- stage:
27+
python: pypy
28+
env: TOXENV=pypy-ansi2html
29+
- stage:
30+
python: pypy3
31+
env: TOXENV=pypy3
32+
- stage:
33+
python: pypy3
34+
env: TOXENV=pypy3-ansi2html
35+
- stage: deploy
36+
python: 3.6
37+
install: skip
38+
script: skip
39+
deploy:
40+
provider: pypi
41+
user: davehunt
42+
password:
43+
secure: QTNaSfTEZnCEINpCfzdOiOPZ1s6co9Fz2cEt5zv/dSZAJCiKNZvvbMzsOsRMQl1MJvp+cSHiuOir46vEGxzh2+FIl+RRSlENqF2G7jGJpfJfukBxYAhSvt9ZLT4UyBbgYz5sv9A4zs+Yo72xAS9eP+zf5bDVaQh0EzudUbb0Mv4=
44+
distributions: sdist bdist_wheel
45+
on:
46+
tags: true
47+
repo: pytest-dev/pytest-html
48+
cache:
49+
pip: true
50+
install: pip install tox
51+
script: tox

0 commit comments

Comments
 (0)