]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
travis: Integrate on stable branch
authorStephen Finucane <stephen@that.guru>
Tue, 31 Jan 2017 19:31:12 +0000 (19:31 +0000)
committerStephen Finucane <stephen@that.guru>
Tue, 31 Jan 2017 19:56:31 +0000 (19:56 +0000)
This helps us detect regressions on the branch.

Signed-off-by: Stephen Finucane <stephen@that.guru>
StableOnly

.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..ad2f275
--- /dev/null
@@ -0,0 +1,25 @@
+language: python
+
+sudo: false
+
+python:
+  - 2.7
+  - 3.4
+
+services:
+  - mysql
+
+env:
+  global:
+    - PW_TEST_DB_USER=travis
+    - PW_TEST_DB_PASS=""
+    - PW_SKIP_BROWSER_TESTS=yes
+
+before_script:
+  - mysql -e 'create database patchwork character set utf8;'
+
+install:
+  - pip install tox-travis
+
+script:
+  - tox