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
5505cf70
Commit
5505cf70
authored
Dec 10, 2019
by
Julien Chaumond
Browse files
Run tests on Py2 too, for Lysandre
parent
9cb97c0c
Changes
1
Show 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 @
5505cf70
...
@@ -80,6 +80,16 @@ jobs:
...
@@ -80,6 +80,16 @@ jobs:
-
run
:
sudo pip install pytest
-
run
:
sudo pip install pytest
-
run
:
sudo pip install mecab-python3
-
run
:
sudo pip install mecab-python3
-
run
:
RUN_CUSTOM_TOKENIZERS=1 python -m pytest -sv ./transformers/tests/tokenization_bert_japanese_test.py
-
run
:
RUN_CUSTOM_TOKENIZERS=1 python -m pytest -sv ./transformers/tests/tokenization_bert_japanese_test.py
build_py2_custom_tokenizers
:
working_directory
:
~/transformers
docker
:
-
image
:
circleci/python:2.7
steps
:
-
checkout
-
run
:
sudo pip install --progress-bar off .
-
run
:
sudo pip install pytest
-
run
:
sudo pip install mecab-python
-
run
:
RUN_CUSTOM_TOKENIZERS=1 python -m pytest -sv ./transformers/tests/tokenization_bert_japanese_test.py
deploy_doc
:
deploy_doc
:
working_directory
:
~/transformers
working_directory
:
~/transformers
docker
:
docker
:
...
@@ -102,6 +112,7 @@ workflows:
...
@@ -102,6 +112,7 @@ workflows:
build_and_test
:
build_and_test
:
jobs
:
jobs
:
-
build_py3_custom_tokenizers
-
build_py3_custom_tokenizers
-
build_py2_custom_tokenizers
-
build_py3_torch_and_tf
-
build_py3_torch_and_tf
-
build_py3_torch
-
build_py3_torch
-
build_py3_tf
-
build_py3_tf
...
...
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