mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#5186 add JS test installer & runner
This commit is contained in:
parent
5ed3f0ad52
commit
fcd0b78afa
10
.travis.yml
10
.travis.yml
@ -7,7 +7,7 @@ env:
|
|||||||
global:
|
global:
|
||||||
- PYTHONFAULTHANDLER=x
|
- PYTHONFAULTHANDLER=x
|
||||||
- SKIP_LATEX_BUILD=1
|
- SKIP_LATEX_BUILD=1
|
||||||
- RUN_TOX=true
|
- IS_PYTHON=true
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
@ -37,16 +37,18 @@ matrix:
|
|||||||
- language: node_js
|
- language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- 10.7
|
- 10.7
|
||||||
env: RUN_TOX=false
|
env: IS_PYTHON=false
|
||||||
before_script:
|
before_script:
|
||||||
- export DISPLAY=:99.0
|
- export DISPLAY=:99.0
|
||||||
- sh -e /etc/init.d/xvfb start
|
- sh -e /etc/init.d/xvfb start
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- if [ $RUN_TOX = true ]; then pip install -U tox codecov; fi
|
- if [ $IS_PYTHON = true ]; then pip install -U tox codecov; fi
|
||||||
|
- if [ $IS_PYTHON = false ]; then npm install; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- if [ $RUN_TOX = true ]; then tox -- -v; fi
|
- if [ $IS_PYTHON = true ]; then tox -- -v; fi
|
||||||
|
- if [ $IS_PYTHON = false ]; then npm test; fi
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- if [[ -e .coverage ]]; then codecov -e $TOXENV; fi
|
- if [[ -e .coverage ]]; then codecov -e $TOXENV; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user