forked from sloria/TextBlob
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (38 loc) · 1.08 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
37
38
39
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
before_install:
- wget https://s3.amazonaws.com/textblob/nltk_data-0.11.0.tar.gz
- tar -xzvf nltk_data-0.11.0.tar.gz -C ~
install:
- pip install numpy
- pip install -r dev-requirements.txt
- pip install -U six
- pip install -U .
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then pip install -r docs/requirements.txt;
fi
script:
- python run_tests.py
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then cd docs && make doctest; fi
jobs:
include:
- stage: PyPI Release
if: tag IS present
python: "3.6"
env: []
# Override before_install, install, and script to no-ops
before_install: true
install: true
script: echo "Releasing to PyPI..."
after_success: true
deploy:
provider: pypi
user: sloria
password:
secure: aPoSh6zkeB6PnS77fmoeT/PzB/oeE7aM0g9ZrPd19ZwC5aORtF7/ifDfzYwYWhdyua4fLAzaEu3Z+pk5z644r1Zq8Jxryv18LeFzkzO/Sk/O9LxpJQ+ypbTIIK9Oc5LdQ0qCd5L3RtMV3zIvocvnpryVmkAm/vYBm77rCBFcMxg=
on:
tags: true
distributions: sdist bdist_wheel