summary refs log tree commit diff
path: root/.travis.yml
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2016-12-06 12:51:32 +0000
committerGitHub <noreply@github.com>2016-12-06 12:51:32 +0000
commit194b6259c545801bea36d569f88fada02e56a8bf (patch)
tree992e0fe809efe30d5768ac9fed509d19ca0e0377 /.travis.yml
parentMerge pull request #1673 from matrix-org/rav/fix_tox_tests (diff)
downloadsynapse-194b6259c545801bea36d569f88fada02e56a8bf.tar.xz
Travis config (#1674)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..3ce93cb434
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,17 @@
+sudo: false
+language: python
+python: 2.7
+
+# tell travis to cache ~/.cache/pip
+cache: pip
+
+env:
+  - TOX_ENV=packaging
+  - TOX_ENV=pep8
+  - TOX_ENV=py27
+
+install:
+  - pip install tox
+
+script:
+  - tox -e $TOX_ENV