Commit 34bdb7f9 authored by thomwolf's avatar thomwolf
Browse files

update circle-ci for python 2.7 and 3.5

parent 848aae49
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment