-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (26 loc) · 1.52 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: python
python:
- "2.7"
- "3.2"
branches:
only:
- master
# - develop
before_install:
- sudo apt-get update -qq
- sudo apt-get install --no-install-recommends -qq python-scipy python-matplotlib python-numpy python-scikits-learn python-coverage python-yaml python-tk python-joblib python3-scipy python3-numpy python3-tk
install:
- pip install svmlight
- export PYTHONPATH=.:/usr/lib/pymodules/python$TRAVIS_PYTHON_VERSION:/usr/lib/python$TRAVIS_PYTHON_VERSION/dist-packages
- python -V 2>&1 | grep -q 'Python 3' && pip install matplotlib || true
- python -c "import nltk ; nltk.download(['abc', 'book_grammars', 'brown', 'cess_cat', 'cess_esp', 'chat80', 'city_database', 'comtrans', 'conll2000', 'conll2002', 'conll2007', 'cmudict', 'dependency_treebank', 'floresta', 'framenet_v15', 'genesis', 'gutenberg', 'ieer', 'inaugural', 'indian', 'jeita', 'knbc', 'large_grammars', 'machado', 'names', 'nps_chat', 'mac_morpho', 'maxent_treebank_pos_tagger', 'movie_reviews', 'ppattach', 'propbank', 'ptb', 'punkt', 'qc', 'reuters', 'rslp', 'rte', 'sample_grammars', 'senseval', 'semcor', 'shakespeare', 'sinica_treebank', 'state_union', 'stopwords', 'timit', 'toolbox', 'treebank', 'udhr', 'universal_tagset', 'verbnet', 'webtext', 'wordnet', 'wordnet_ic', 'words'])"
before_script:
- python -c "import sys; print sys.path" ; env | egrep -i 'python|virt' ; true
# command to run tests
script: python nltk/test/runtests.py
notifications:
email: false
# irc:
# channels:
# - "irc.freenode.org#nltk"
# on_success: change