update Circle CI config

This commit is contained in:
thomwolf
2019-02-11 10:22:10 +01:00
parent 525eba68ab
commit 8197eb9f10

View File

@@ -8,7 +8,7 @@ jobs:
- checkout - checkout
- run: sudo pip install --progress-bar off . - run: sudo pip install --progress-bar off .
- run: sudo pip install pytest ftfy spacy - run: sudo pip install pytest ftfy spacy
- run: python -m spacy download en - run: sudo python -m spacy download en
- run: python -m pytest -sv tests/ - run: python -m pytest -sv tests/
build_py2: build_py2:
working_directory: ~/pytorch-pretrained-BERT working_directory: ~/pytorch-pretrained-BERT
@@ -17,8 +17,9 @@ jobs:
steps: steps:
- checkout - checkout
- run: sudo pip install --progress-bar off . - run: sudo pip install --progress-bar off .
- run: sudo pip install pytest ftfy spacy - run: sudo pip install pytest spacy
- run: python -m spacy download en - run: sudo pip install ftfy==4.4.3
- run: sudo python -m spacy download en
- run: python -m pytest -sv tests/ - run: python -m pytest -sv tests/
workflows: workflows:
version: 2 version: 2