8000 :fire: remove python 2 and pypy tests · pyexcel/pyexcel-xlsbr@31e79bf · GitHub
[go: up one dir, main page]

Skip to content

Commit 31e79bf

Browse files
committed
🔥 remove python 2 and pypy tests
1 parent 5c823fe commit 31e79bf

File tree

3 files changed

+48
-13
lines changed

3 files changed

+48
-13
lines changed

.moban.d/custom_travis.yml.jj2

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{% extends "travis.yml.jj2" %}
2+
{%block extra_matrix %}
3+
matrix:
4+
include:
5+
- python: 3.6
6+
env: MINREQ=1
7+
{%endblock%}
8+
{%block custom_python_versions%}
9+
python:
10+
- 3.8
11+
- 3.7
12+
- 3.6
13+
{%endblock%}
14+
{%block pypi_deployment%}
15+
{%endblock %}

.moban.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ targets:
66
- "tests/requirements.txt": "tests/requirements.txt"
77
- "docs/source/conf.py": "docs/source/conf.py.jj2"
88
- "setup.py": "custom_setup.py.jj2"
9+
- .travis.yml: custom_travis.yml.jj2

.travis.yml

Lines changed: 32 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,52 @@ language: python
44
notifications:
55
email: false
66
python:
7-
- &pypy2 pypy2.7-6.0
8-
- &pypy3 pypy3.5-6.0
9-
- 3.8-dev
7+
- 3.8
108
- 3.7
119
- 3.6
12-
- 3.5
13-
- 2.7
10+
matrix:
11+
include:
12+
- python: 3.6
13+
env: MINREQ=1
1414

1515
stages:
16-
- test
1716
- lint
17+
- moban
18+
- test
19+
20+
21+
.lint: &lint
22+
git:
23+
submodules: false
24+
python: 3.6
25+
env:
26+
- MINREQ=0
27+
stage: lint
28+
script: make lint
29+
30+
.moban: &moban
31+
python: 3.6
32+
env:
33+
- MINREQ=0
34+
stage: moban
35+
install: pip install moban>=0.0.4 gitfs2 pypifs
36+
script:
37+
- moban
38+
- git diff --exit-code
39+
1840
jobs:
1941
include:
20-
- stage: lint
21-
python: 3.6
22-
script: make lint
42+
- *moban
43+
- *lint
2344

2445
stage: test
2546

26-
script: make test
27-
2847
before_install:
29-
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
3048
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
3149
mv min_requirements.txt requirements.txt ;
3250
fi
33-
- test ! -f rnd_requirements.txt || pip install --no-deps -r rnd_requirements.txt
51+
- test ! -f rnd_requirements.txt ||
52+
pip install --no-deps -r rnd_requirements.txt
3453
- test ! -f rnd_requirements.txt || pip install -r rnd_requirements.txt ;
3554
- pip install -r tests/requirements.txt
3655
script:

0 commit comments

Comments
 (0)
0