travis: Fix some more issues

This commit is contained in:
Florian Bruhin 2017-09-10 01:44:53 +02:00
parent b4f30f6df2
commit a11baeb84d
3 changed files with 12 additions and 6 deletions

View File

@ -43,6 +43,10 @@ matrix:
env: TESTENV=flake8
- os: linux
env: TESTENV=docs
addons:
apt:
packages:
- asciidoc
- os: linux
env: TESTENV=vulture
- os: linux
@ -53,6 +57,9 @@ matrix:
env: TESTENV=check-manifest
- os: linux
env: TESTENV=eslint
language: node_js
python: null
node_js: node
allow_failures:
- os: osx
env: TESTENV=py36 OSX=elcapitan

View File

@ -65,8 +65,8 @@ pip_install() {
npm_install() {
# Make sure npm is up-to-date first
travis_retry sudo npm install -g npm
travis_retry sudo npm install -g "$@"
travis_retry npm install -g npm
travis_retry npm install -g "$@"
}
install_node() {
@ -123,7 +123,7 @@ case $TESTENV in
;;
pylint|vulture)
#apt_install $pyqt_pkgs libpython3.4-dev
check_pyqt
#check_pyqt
;;
flake8)
#apt_install libpython3.4-dev
@ -139,7 +139,6 @@ case $TESTENV in
pyroma|check-manifest)
;;
eslint)
install_node
echo "node: $(node --version)"
echo "npm: $(npm --version)"
npm_install eslint

View File

@ -191,9 +191,9 @@ basepython = python3
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/misc/requirements/requirements-vulture.txt
-r{toxinidir}/misc/requirements/requirements-pyqt.txt
setenv = PYTHONPATH={toxinidir}
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} scripts/dev/run_vulture.py
[testenv:pylint]
@ -250,8 +250,8 @@ whitelist_externals = git
passenv = TRAVIS_PULL_REQUEST
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/misc/requirements/requirements-pyqt.txt
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} scripts/dev/src2asciidoc.py {posargs}
{envpython} scripts/dev/check_doc_changes.py {posargs}
{envpython} scripts/asciidoc2html.py {posargs}