Skip to content

Commit 54e9237

Browse files
author
Sylvain MARIE
committed
Disabled pylint and added python 3.7
1 parent ea020c9 commit 54e9237

File tree

1 file changed

+25
-19
lines changed

1 file changed

+25
-19
lines changed

.travis.yml

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,33 @@ language: python
33
# DO NOT CACHE PIP: we rather use a fresh conda
44
# cache: pip
55

6-
python:
7-
- "2.7"
8-
- "3.5"
9-
- "3.6"
10-
# - "3.7" NOT AVAILABLE ON TRAVIS YET..
11-
# - "3.7-dev" # 3.7 development branch
12-
# - "nightly" # currently points to 3.7-dev
13-
# PyPy versions
14-
# - "pypy" # PyPy2 2.5.0
15-
# - "pypy3" # Pypy3 2.4.0
16-
# - "pypy-5.3.1"
6+
matrix:
7+
fast_finish: true
8+
include:
9+
- python: 2.7
10+
env: PYTEST_VERSION="<3" PYTEST_HTML_VERSION="==1.9.0" # indeed recent pytest_html require pytest>=3
11+
- python: 2.7
12+
env: PYTEST_VERSION="<4" PYTEST_HTML_VERSION=""
13+
- python: 3.5
14+
env: PYTEST_VERSION="<3" PYTEST_HTML_VERSION="==1.9.0" # indeed recent pytest_html require pytest>=3
15+
- python: 3.5
16+
env: PYTEST_VERSION="<4" PYTEST_HTML_VERSION=""
17+
- python: 3.6
18+
env: PYTEST_VERSION="<3" PYTEST_HTML_VERSION="==1.9.0" # indeed recent pytest_html require pytest>=3
19+
- python: 3.6
20+
env: PYTEST_VERSION="<4" PYTEST_HTML_VERSION=""
21+
- python: 3.7
22+
env: PYTEST_VERSION="<3" PYTEST_HTML_VERSION="==1.9.0" # indeed recent pytest_html require pytest>=3
23+
dist: xenial
24+
sudo: true
25+
- python: 3.7
26+
env: PYTEST_VERSION="<4" PYTEST_HTML_VERSION=""
27+
dist: xenial
28+
sudo: true
1729

1830
env:
1931
global:
2032
- GH_REF: [email protected]:smarie/python-pytest-cases.git
21-
matrix:
22-
- PYTEST_VERSION="<3" PYTEST_HTML_VERSION="==1.9.0" # indeed recent pytest_html require pytest>=3
23-
- PYTEST_VERSION="<4" PYTEST_HTML_VERSION=""
2433

2534
before_install:
2635
# (a) linux dependencies
@@ -71,7 +80,7 @@ after_success:
7180
# - junit2html junit.xml testrun.html output is really not nice
7281
- ant -f ci_tools/generate-junit-html.xml # generates the html for the test results. Actually we dont use it anymore
7382
- codecov
74-
- pylint pytest_cases # note that at the moment the report is simply lost, we dont transform the result into anything
83+
# - pylint pytest_cases # note that at the moment the report is simply lost, we dont transform the result into anything
7584
# ***documentation***
7685
- mkdocs build -f docs/mkdocs.yml
7786
- mv reports/junit site/
@@ -83,7 +92,7 @@ after_success:
8392
if [ -s "ci_tools/github_travis_rsa" ]; then
8493
chmod 600 ci_tools/github_travis_rsa
8594
eval `ssh-agent -s` # launch the authentication agent
86-
ssh-add ci_tools/github_travis_rsa # register the key
95+
ssh-add ci_tools/github_travis_rsa # register the decrypted key
8796
git config user.name "Automatic Publish"
8897
git config user.email "[email protected]"
8998
git remote add gh-remote "${GH_REF}";
@@ -117,9 +126,6 @@ deploy:
117126
python: 3.5 #only one of the builds have to be deployed
118127
condition: $PYTEST_VERSION = "<3"
119128

120-
matrix:
121-
fast_finish: true
122-
123129
notifications:
124130
email:
125131
on_success: never # options: [always|never|change] default: always

0 commit comments

Comments
 (0)