Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
e7fba4be
Commit
e7fba4be
authored
Aug 29, 2019
by
LysandreJik
Browse files
Documentation auto-deploy
parent
fe8fb10b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
5 deletions
+23
-5
.circleci/config.yml
.circleci/config.yml
+23
-5
No files found.
.circleci/config.yml
View file @
e7fba4be
...
...
@@ -26,9 +26,27 @@ jobs:
-
run
:
sudo pip install pytest codecov pytest-cov
-
run
:
python -m pytest -sv ./pytorch_transformers/tests/ --cov
-
run
:
codecov
deploy_doc
:
working_directory
:
~/pytorch-transformers
docker
:
-
image
:
circleci/python:3.5
steps
:
-
add_ssh_keys
:
fingerprints
:
-
"
5b:7a:95:18:07:8c:aa:76:4c:60:35:88:ad:60:56:71"
-
checkout
-
run
:
sudo pip install -r docs/requirements.txt
-
run
:
sudo pip install -r requirements.txt
-
run
:
cd docs && make clean && make html && scp -r -oStrictHostKeyChecking=no _build/html/* $doc:$dir
workflow_filters
:
&workflow_filters
filters
:
branches
:
only
:
-
master
workflows
:
version
:
2
build_and_test
:
jobs
:
-
build_py3
-
build_py2
-
deploy_doc
:
*workflow_filters
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment