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
34bdb7f9
Commit
34bdb7f9
authored
Feb 06, 2019
by
thomwolf
Browse files
update circle-ci for python 2.7 and 3.5
parent
848aae49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
.circleci/config.yml
.circleci/config.yml
+17
-2
No files found.
.circleci/config.yml
View file @
34bdb7f9
version
:
2
jobs
:
build
:
build
_py3
:
working_directory
:
~/pytorch-pretrained-BERT
docker
:
-
image
:
circleci/python:3.
7
-
image
:
circleci/python:3.
5
steps
:
-
checkout
-
run
:
sudo pip install --progress-bar off .
-
run
:
sudo pip install pytest
-
run
:
python -m pytest -sv tests/
build_py2
:
working_directory
:
~/pytorch-pretrained-BERT
docker
:
-
image
:
circleci/python:2.7
steps
:
-
checkout
-
run
:
sudo pip install --progress-bar off .
-
run
:
sudo pip install pytest
-
run
:
python -m pytest -sv tests/
workflows
:
version
:
2
build_and_test
:
jobs
:
-
build_py3
-
build_py2
\ 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