Skip to content
Snippets Groups Projects
Commit 305a717d authored by newRuntieException's avatar newRuntieException Committed by zhuqi
Browse files

update .travis.yml

parent 2a2dd8a4
No related branches found
No related tags found
No related merge requests found
......@@ -11,30 +11,24 @@ install:
- pip install sphinx
script:
- ls
# - python setup.py test
# - cd docs && rm source/convlab2.*.rst
# - sphinx-apidoc -o ./source ../convlab2/
# - cd source && python gen_rst.py --project convlab2 && cd ..
# - make html
# - cd source
# - python modify_py_modindex.py -d ../build/html/
# - cd ..
# - mv ./build/html ./build/docs && rm -r ./build/doctrees && mv LICENSE.txt ./build && mv README.md ./build && cd ..
- pytest tests
- cd docs
- make html && mv ./build/html ./build/docs && rm -r ./build/doctrees
- cd ..
#deploy:
# - provider: pages
# skip-cleanup: true
# github-token: $DEPLOY_KEY
# keep-history: true
# repo: thu-coai/convlab2_docs
# target-branch: master
# local-dir: ./docs/build
# on:
# branch: master
# - provider: script
# skip-cleanup: true
# script: coveralls
# on:
# all_branches: true
# condition: true
deploy:
- provider: pages
skip-cleanup: true
github-token: $DEPLOY_KEY
keep-history: true
repo: thu-coai/ConvLab-2_docs
target-branch: master
local-dir: ./docs/build
on:
branch: master
- provider: script
skip-cleanup: true
script: coveralls
on:
all_branches: true
condition: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment