-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
35 lines (29 loc) · 973 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
---
# This is configuration file of Travis CI service, see:
# https://docs.travis-ci.com/user/customizing-the-build
# Install packages not present in default Travis CI Ubuntu instances
# see: https://docs.travis-ci.com/user/installing-dependencies/
before_install:
- "export TRAVIS_COMMIT_MSG=\\\"$(git log --format=%B --no-merges -n 1)\\"
- sudo apt-get install -y build-essential
# Redefine limit deph of git clone operation (Travis CI uses 50 by default)
git:
depth: 4
# Installation of dependencies, the rest is handled by tox.
install:
- pip install tox-travis
language: python
python:
- "2.7"
# All CI checks are executed via tox, one tox run for each env (see below).
script:
- tox
# List of tox enviroments to run. This way, result for each env will be
# reported separately.
# See: http://borntyping.co.uk/2013/09/02/tox-and-travis/
env:
- TOXENV=vulture
- TOXENV=pep8
- TOXENV=check_commit_msg
- TOXENV=py27-cover-master
- TOXENV=docs