Skip to content

Commit

Permalink
🔥 remove python 2 and pypy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed May 3, 2020
1 parent e0cb7f5 commit b9f955c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
13 changes: 11 additions & 2 deletions .moban.d/custom_travis.yml.jj2
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{% extends "travis.yml.jj2" %}

{%block custom_install %} - if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install ordereddict; fi
- pip install --upgrade pip>8 setuptools>21
{%block extra_matrix %}
matrix:
include:
- python: 3.6
env: MINREQ=1
{%endblock%}
{%block custom_python_versions%}
python:
- 3.8
- 3.7
- 3.6
{%endblock%}
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ language: python
notifications:
email: false
python:
- &pypy2 pypy2.7-6.0
- &pypy3 pypy3.5-6.0
- 3.8
- 3.7
- 3.6
- 3.5
- 2.7
matrix:
include:
- python: 3.6
env: MINREQ=1

stages:
- lint
Expand Down Expand Up @@ -45,8 +45,6 @@ jobs:
stage: test

before_install:
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install ordereddict; fi
- pip install --upgrade pip>8 setuptools>21
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
mv min_requirements.txt requirements.txt ;
fi
Expand Down

0 comments on commit b9f955c

Please sign in to comment.