diff --git a/.travis.yml b/.travis.yml index cf0ea43fff..0837b9f159 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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: