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
b0c9fbb2
Unverified
Commit
b0c9fbb2
authored
Apr 18, 2020
by
Harutaka Kawamura
Committed by
GitHub
Apr 17, 2020
Browse files
Add workflow to build docs (#3763)
parent
c19727fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
.circleci/config.yml
.circleci/config.yml
+11
-0
No files found.
.circleci/config.yml
View file @
b0c9fbb2
...
@@ -66,6 +66,16 @@ jobs:
...
@@ -66,6 +66,16 @@ jobs:
-
run
:
sudo pip install .[sklearn,torch,testing]
-
run
:
sudo pip install .[sklearn,torch,testing]
-
run
:
sudo pip install -r examples/requirements.txt
-
run
:
sudo pip install -r examples/requirements.txt
-
run
:
python -m pytest -n 8 --dist=loadfile -s -v ./examples/
-
run
:
python -m pytest -n 8 --dist=loadfile -s -v ./examples/
build_doc
:
working_directory
:
~/transformers
docker
:
-
image
:
circleci/python:3.6
steps
:
-
checkout
-
run
:
sudo pip install .[tf,torch,docs]
-
run
:
cd docs && make html
-
store_artifacts
:
path
:
./docs/_build
deploy_doc
:
deploy_doc
:
working_directory
:
~/transformers
working_directory
:
~/transformers
docker
:
docker
:
...
@@ -117,4 +127,5 @@ workflows:
...
@@ -117,4 +127,5 @@ workflows:
-
run_tests_torch_and_tf
-
run_tests_torch_and_tf
-
run_tests_torch
-
run_tests_torch
-
run_tests_tf
-
run_tests_tf
-
build_doc
-
deploy_doc
:
*workflow_filters
-
deploy_doc
:
*workflow_filters
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