Skip to content

Commit

Permalink
test: add the long dead Python 2.6
Browse files Browse the repository at this point in the history
PR-URL: #1913
Reviewed-By: Rod Vagg <[email protected]>
  • Loading branch information
cclauss authored and rvagg committed Oct 4, 2019
1 parent 3891391 commit d1cf121
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ language: python
cache: pip
matrix:
include:
- name: "Python 2.6 on Linux"
dist: trusty
env: NODE_GYP_FORCE_PYTHON=python2
python: 2.6
before_install: nvm install 10
- name: "Python 2.7 on Linux"
env: NODE_GYP_FORCE_PYTHON=python2
python: 2.7
Expand Down Expand Up @@ -72,11 +77,11 @@ install:
#- pip install -r requirements.txt
- pip install flake8 # pytest # add another testing frameworks later
before_script:
- flake8 --version
# - flake8 --version
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. Two space indentation is OK. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --ignore=E111,E114,W503 --max-complexity=10 --max-line-length=127 --statistics
# - flake8 . --count --exit-zero --ignore=E111,E114,W503 --max-complexity=10 --max-line-length=127 --statistics
- npm install
- npm list
script:
Expand Down

0 comments on commit d1cf121

Please sign in to comment.