Skip to content

Commit

Permalink
Also copy the tiny emb as part of the travis.yml. TODO: fix DRY
Browse files Browse the repository at this point in the history
  • Loading branch information
AngledLuffa committed May 11, 2020
1 parent adc11b7 commit 7d790c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ install:
- mkdir ~/stanza_test/scripts
- cp tests/data/external_server.properties ~/stanza_test/scripts
- cp tests/data/example_french.json ~/stanza_test/out
- cp tests/data/tiny_emb.* ~/stanza_test/in
- export STANZA_TEST_HOME=~/stanza_test
script:
- python -m pytest -m travis tests/
3 changes: 1 addition & 2 deletions tests/setup_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ mkdir -p $test_dir/out
mkdir -p $test_dir/scripts
cp tests/data/external_server.properties $test_dir/scripts
cp tests/data/example_french.json $test_dir/out
cp tests/data/tiny_emb.txt $test_dir/in
cp tests/data/tiny_emb.xz $test_dir/in
cp tests/data/tiny_emb.* $test_dir/in

models_dir=$test_dir/models
mkdir -p $models_dir
Expand Down

0 comments on commit 7d790c5

Please sign in to comment.