jjb: use tox to run tests
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 9 Aug 2016 17:03:18 +0000 (13:03 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Tue, 9 Aug 2016 17:03:18 +0000 (13:03 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
.gitignore
.travis.yml
tox.ini [new file with mode: 0644]

index 64cf77f81461d9536a0a467f3112185a8ddd5427..98907523139ea9ba6b3c113d162fec1cfff44fd9 100644 (file)
@@ -1,3 +1,4 @@
-test/
+/test/
+/etc/jenkins_jobs.ini
+/.tox
 .venv*/
-etc/jenkins_jobs.ini
index 3237e7f8c422f841b1c84a7c2a5e35a54abd14dd..01fc18afc99d66b67a83b349476d9e74e1335d5b 100644 (file)
@@ -1,6 +1,8 @@
+sudo: false
 language: python
 python:
   - "2.7"
-install: 
-  - pip install jenkins-job-builder
-script: jenkins-jobs test jobs/ -o test/
+  - "3.5"
+  - "pypi"
+install: pip install tox-travis
+script: tox
diff --git a/tox.ini b/tox.ini
new file mode 100644 (file)
index 0000000..975075c
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,9 @@
+[tox]
+minversion = 1.9
+skipsdist = True
+toxworkdir = {env:TOXWORKDIR:.tox}
+
+[testenv]
+skip_install = True
+deps = jenkins-job-builder
+commands = jenkins-jobs test jobs/ -o test/
This page took 0.024016 seconds and 4 git commands to generate.