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 c14e4b3 commit fa2afb8Copy full SHA for fa2afb8
.travis.yml
@@ -0,0 +1,34 @@
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
27
+install:
28
+ # Install tox in a virtualenv to ensure we have an up to date version.
29
+ - pip install -U pip
30
+ - pip install tox
31
32
+script:
33
+ # Run the tox environment.
34
+ - tox -e ${TOX_ENV}
0 commit comments