We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceb8279 commit 6a9790bCopy full SHA for 6a9790b
.travis.yml
@@ -0,0 +1,36 @@
1
+---
2
+language: python
3
+python: "2.7"
4
+
5
+# Run jobs in VMs - sudo is required by ansible tests.
6
+sudo: required
7
8
+# Install ansible
9
+addons:
10
+ apt:
11
+ packages:
12
+ - gcc
13
+ - python-apt
14
+ - python-virtualenv
15
+ - realpath
16
17
+# Create a build matrix for the different test jobs.
18
+env:
19
+ matrix:
20
+ # Run python style checks.
21
+ - TOX_ENV=pep8
22
+ # Build documentation.
23
+ - TOX_ENV=docs
24
+ # Run python2.7 unit tests.
25
+ - TOX_ENV=py27
26
+ # Run functional tests.
27
+ - TOX_ENV=functional
28
29
+install:
30
+ # Install tox in a virtualenv to ensure we have an up to date version.
31
+ - pip install -U pip
32
+ - pip install tox
33
34
+script:
35
+ # Run the tox environment.
36
+ - tox -e ${TOX_ENV}
0 commit comments