mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#5186 configure travis-ci
This commit is contained in:
parent
5fdf81fe2d
commit
2fa382673f
13
.travis.yml
13
.travis.yml
@ -7,6 +7,7 @@ env:
|
||||
global:
|
||||
- PYTHONFAULTHANDLER=x
|
||||
- SKIP_LATEX_BUILD=1
|
||||
- RUN_TOX=true
|
||||
|
||||
matrix:
|
||||
include:
|
||||
@ -33,11 +34,19 @@ matrix:
|
||||
- python: '3.6'
|
||||
env: TOXENV=flake8
|
||||
|
||||
- language: node_js
|
||||
node_js:
|
||||
- 10.7
|
||||
env: RUN_TOX=false
|
||||
before_script:
|
||||
- export DISPLAY=:99.0
|
||||
- sh -e /etc/init.d/xvfb start
|
||||
|
||||
install:
|
||||
- pip install -U tox codecov
|
||||
- if [ $RUN_TOX = true ]; then pip install -U tox codecov; fi
|
||||
|
||||
script:
|
||||
- tox -- -v
|
||||
- if [ $RUN_TOX = true ]; then tox -- -v; fi
|
||||
|
||||
after_success:
|
||||
- if [[ -e .coverage ]]; then codecov -e $TOXENV; fi
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "sphinx",
|
||||
"scripts": {
|
||||
"test": "test"
|
||||
"test": "./node_modules/.bin/karma start --browsers Firefox --single-run"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
Reference in New Issue
Block a user