forked from pytorch/text
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (21 loc) · 684 Bytes
/
.travis.yml
File metadata and controls
26 lines (21 loc) · 684 Bytes
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
dist: trusty
language: python
cache:
directories:
- /home/travis/download
- /home/travis/.cache/pip
# This matrix tests that the code works on Python 2.7,
# 2.7.8, 3.5, 3.6, and passes lint.
matrix:
fast_finish: true
include:
- env: PYTHON_VERSION="2.7" COVERAGE="true"
- env: PYTHON_VERSION="2.7.8" COVERAGE="true"
- env: PYTHON_VERSION="3.5" COVERAGE="true"
- env: PYTHON_VERSION="3.6" COVERAGE="true"
- env: PYTHON_VERSION="2.7" RUN_FLAKE8="true" SKIP_TESTS="true"
notifications:
email: false
install: source build_tools/travis/install.sh
script: bash build_tools/travis/test_script.sh
after_success: source build_tools/travis/after_success.sh