forked from box/box-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (38 loc) · 804 Bytes
/
.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
sudo: false
language: python
branches:
only:
- main
- "1.5"
cache:
directories:
- $HOME/.cache/pip
before_cache:
- rm -r -f $HOME/.cache/pip/log
matrix:
include:
- python: 2.7
env: TOX_ENV=pycodestyle
- python: 2.7
env: TOX_ENV=pylint
- python: 2.7
env: TOX_ENV=py27
- python: 3.5
env: TOX_ENV=py35
- python: 3.6
env: TOX_ENV=py36
- python: 3.7
env: TOX_ENV=py37
# Python3.7 isn't available on the standard Trusty build that Travis uses
dist: xenial
sudo: true
- python: pypy
env: TOX_ENV=pypy PYPY_VERSION='3.6-7.3.0'
- python: 3.5
env: TOX_ENV=coverage
# commands to install dependencies
install:
- ./.travis/install.sh
# commands to run
script:
- ./.travis/run.sh