forked from rigatoni/linguine-python
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
36 lines (31 loc) · 1.11 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
27
28
29
30
31
32
33
34
35
36
language: python
matrix:
include:
- python: 3.4
env: "NUMPY=1.8 SCIPY=0.13"
before_install:
- travis_retry wget https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
- pip install numpy==1.8
- pip install scipy==0.13
- pip install matplotlib
- pip install nose
- pip install -r requirements.txt
- travis_wait 30 python -m nltk.downloader stopwords names cmudict brown punkt averaged_perceptron_tagger
- git clone https://github.com/Pastafarians/stanford_corenlp_pywrapper scp_repo
- ln -s scp_repo/stanford_corenlp_pywrapper .
#before_install:
# - travis_retry wget http://repo.continuum.io/miniconda/Miniconda3-3.4.2-Linux-x86_64.sh -O miniconda.sh
# - chmod +x miniconda.sh
# - bash miniconda.sh -b -p $HOME/miniconda
# - export PATH=/home/travis/miniconda/bin:$PATH
# - travis_wait conda update --yes conda
# - conda install --yes numpy=$NUMPY scipy=$SCIPY matplotlib pip
# - conda info -a
# - pip install -r requirements.txt
# - git clone https://github.com/brendano/stanford_corenlp_pywrapper scp_repo
# - ln -s scp_repo/stanford_corenlp_pywrapper .
script:
- travis_wait nosetests
services:
- mongodb