diff --git a/.travis.yml b/.travis.yml index 5703bfa01d..54a13a9382 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,13 @@ matrix: osx_image: xcode10.2 language: shell # 'language: python' is not yet supported on macOS before_install: HOMEBREW_NO_AUTO_UPDATE=1 brew install npm - - name: "Python 2.7 on Windows" + - name: "Node.js 6 & Python 2.7 on Windows" + os: windows + language: node_js + node_js: 6 # node + env: PATH=/c/Python27:/c/Python27/Scripts:$PATH + before_install: choco install python2 + - name: "Node.js 12 & Python 2.7 on Windows" os: windows language: node_js node_js: 12 # node @@ -28,8 +34,6 @@ matrix: - name: "Node.js 12 & Python 3.7 on Linux" python: 3.7 before_install: nvm install 12 - allow_failures: - - os: windows install: #- pip install -r requirements.txt - pip install flake8 # pytest # add another testing frameworks later diff --git a/package.json b/package.json index 260ac9d959..15f07459eb 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,6 @@ }, "scripts": { "lint": "standard */*.js test/**/*.js", - "test": "npm run lint && tap test/test-*" + "test": "npm run lint && tap --timeout=120 test/test-*" } }