forked from digidotcom/python-devicecloud
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
30 lines (26 loc) · 770 Bytes
/
.travis.yml
File metadata and controls
30 lines (26 loc) · 770 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
27
28
29
30
#
# This is the Travis-CI configuration.
#
# The actual dependency installation and test execution is done via tox as a
# way to share the same process between Travis-CI and Buildbot.
#
language: python
# allow travis to use new, faster container based
# infrastructure to perform the testing
sudo: false
# this version of python is only used to run tox - the version specified by TOX_ENV
# is used to install and run tests
python: 2.7
env:
- TOX_ENV=py27
- TOX_ENV=py34
- TOX_ENV=coverage
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install tox-travis coveralls
- pip install -r test-requirements.txt
# command to run tests, e.g. python setup.py test
script:
- tox
after_success:
- coveralls