Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,24 @@ os:
python:
- '3.6'

cache:
directories:
- ~/.cache/pip
- ~/nltk_data
- ~/pythainlp-data
#cache:
# directories:
# - ~/.cache/pip
# - ~/nltk_data
# - ~/pythainlp-data

before_install:
- sudo rm -f /etc/boto.cfg

install:
- pip install -U pip setuptools
- pip install -U "tensorflow>=2,<3" deepcut
- pip install -U -r requirements.txt
- pip install -r requirements.txt
- pip install .[full]
- pip install -U coverage coveralls
- pip install coverage coveralls

script:
- coverage run -m unittest discover
- coverage run -m unittest discover

after_success:
- coveralls