forked from nltk/nltk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (41 loc) · 1.06 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
sudo: false
language: python
cache:
apt: true
directories:
- $HOME/.cache/pip
- $HOME/.ccache
- $HOME/.pip-cache
- $HOME/third
- $HOME/nltk_data
dist: xenial
addons:
apt:
packages:
- expect-dev # for unbuffer, see https://github.com/travis-ci/travis-ci/issues/7967
matrix:
include:
- python: '3.5'
env: TOXENV="py-travis"
- python: '3.6'
env: TOXENV="py-travis"
- python: '3.7'
env: TOXENV="py-travis"
- python: '3.7' # Only runs checks on 3rd party for latest Python distribution
env: TOXENV="py-travis-third-party"
- python: '3.8'
env: TOXENV="py-travis"
- python: '3.9'
env: TOXENV="py-travis"
before_install:
- source tools/travis/pre-install.sh # Checks Java and Python versions.
- chmod +x tools/travis/coverage-pylint.sh
- chmod +x tools/travis/third-party.sh
install:
- source tools/travis/install.sh
#- source tools/travis/third-party.sh
- pip install tox
script:
- unbuffer tox -e $TOXENV tox.ini -vv
after_success:
- tools/travis/travis-ci-commenter.sh