Skip to content

Commit

Permalink
Do not cache large downloaded files on Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
federicotdn committed Jul 12, 2019
1 parent d485103 commit 583573f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ dist: xenial
cache:
directories:
- $HOME/.cache/pip
- /tmp/cached/
- .pytype
python: '3.6'
env:
Expand Down
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@ prepare-tests-files:
python -m spacy link en_core_web_md en --force
pip install https://github.com/explosion/spacy-models/releases/download/de_core_news_sm-2.1.0/de_core_news_sm-2.1.0.tar.gz#egg=de_core_news_sm==2.1.0 --no-cache-dir -q
python -m spacy link de_core_news_sm de --force
if [ ! -f /tmp/cached/total_word_feature_extractor.dat ]; then \
wget --progress=dot:giga -P /tmp/cached/ https://s3-eu-west-1.amazonaws.com/mitie/total_word_feature_extractor.dat; \
fi
cp /tmp/cached/total_word_feature_extractor.dat data/total_word_feature_extractor.dat
wget --progress=dot:giga -N -P data/ https://s3-eu-west-1.amazonaws.com/mitie/total_word_feature_extractor.dat

test: clean
py.test tests --cov rasa
Expand Down

0 comments on commit 583573f

Please sign in to comment.