Add Travis Support
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..f1bd101
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,28 @@
+language: python
+
+sudo: false
+
+cache:
+ directories:
+ - $HOME/.cache/pip
+
+matrix:
+ include:
+ - python: 2.6
+ env: TOXENV=py26
+ - python: 2.7
+ env: TOXENV=py27
+ - python: 3.3
+ env: TOXENV=py33
+ - python: 3.4
+ env: TOXENV=py34
+ - python: 3.5
+ env: TOXENV=py35
+ - python: pypy
+ env: TOXENV=pypy PYPY_VERSION=5.1
+
+install:
+ - ./.travis/install.sh
+
+script:
+ - tox
diff --git a/.travis/install.sh b/.travis/install.sh
new file mode 100755
index 0000000..270c733
--- /dev/null
+++ b/.travis/install.sh
@@ -0,0 +1,17 @@
+# temporary pyenv installation to get latest pypy until the travis
+# container infra is upgraded
+if [[ "${TOXENV}" = pypy* ]]; then
+ git clone https://github.com/yyuu/pyenv.git ~/.pyenv
+ PYENV_ROOT="$HOME/.pyenv"
+ PATH="$PYENV_ROOT/bin:$PATH"
+ eval "$(pyenv init -)"
+ pyenv install "pypy-$PYPY_VERSION"
+ pyenv global "pypy-$PYPY_VERSION"
+
+ pip install --upgrade tox
+
+ pyenv rehash
+fi
+
+
+pip install --upgrade tox