Skip to content

Commit

Permalink
updates for running external server test on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
J38 committed May 2, 2019
1 parent 1c0c660 commit 96546f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ install:
- unzip corenlp.zip
- mv $CORENLP_VERSION $CORENLP_HOME
- mkdir ~/stanfordnlp_test
- mkdir ~/stanfordnlp_test/in
- mkdir ~/stanfordnlp_test/out
- mkdir ~/stanfordnlp_test/scripts
- cp tests/data/external_server.properties ~/stanfordnlp_test/scripts
- export STANFORDNLP_TEST_HOME=~/stanfordnlp_test
script:
- python -m pytest -m travis tests/
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
f'Base name of test home dir must be: {TEST_DIR_BASE_NAME}'

# server resources
SERVER_TEST_PROPS = f'{TEST_WORKING_DIR}/scripts/test.props'
SERVER_TEST_PROPS = f'{TEST_WORKING_DIR}/scripts/external_server.properties'

# langauge resources
LANGUAGE_RESOURCES = {}
Expand Down

0 comments on commit 96546f6

Please sign in to comment.