Skip to content

Commit

Permalink
test: cover supported node versions with travis
Browse files Browse the repository at this point in the history
PR-URL: #1809
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: cclauss <[email protected]>
  • Loading branch information
rvagg committed Jul 6, 2019
1 parent 2410914 commit 7e81270
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ matrix:
include:
- name: "Python 2.7 on Linux"
python: 2.7
- name: "Python 3.7 on Linux"
python: 3.7
- name: "Python 2.7 on macOS"
os: osx
osx_image: xcode10.2
Expand All @@ -18,6 +16,18 @@ matrix:
node_js: 12 # node
env: PATH=/c/Python27:/c/Python27/Scripts:$PATH
before_install: choco install python2
- name: "Node.js 6 & Python 3.7 on Linux"
python: 3.7
before_install: nvm install 6
- name: "Node.js 8 & Python 3.7 on Linux"
python: 3.7
before_install: nvm install 8
- name: "Node.js 10 & Python 3.7 on Linux"
python: 3.7
before_install: nvm install 10
- name: "Node.js 12 & Python 3.7 on Linux"
python: 3.7
before_install: nvm install 12
allow_failures:
- os: windows
install:
Expand All @@ -26,7 +36,7 @@ install:
before_script:
- flake8 --version
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E9,F63,F72,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
- npm install
Expand Down

0 comments on commit 7e81270

Please sign in to comment.