Explorar o código

Add pypy and py3.2 to the travis build matrix. Use pypy ppa.

Ionel Cristian Mărieș %!s(int64=11) %!d(string=hai) anos
pai
achega
d81f2a9843
Modificáronse 1 ficheiros con 18 adicións e 5 borrados
  1. 18 5
      .travis.yml

+ 18 - 5
.travis.yml

@@ -1,8 +1,21 @@
 language: python
 python:
-    - 2.6
-    - 2.7
-    - 3.3
-install:
-    - pip install --use-mirrors tox
+  - 2.6
+  - 2.7
+  - 3.2
+  - 3.3
+  - pypy
+before_install:
+  - |
+    deactivate
+    if python --version |& grep PyPy; then
+      sudo apt-add-repository --yes ppa:pypy/ppa
+      sudo apt-get update
+      sudo apt-get install pypy
+      source ~/virtualenv/pypy/bin/activate
+    fi
+    python --version
+    uname -a
+    lsb_release -a
+    sudo pip install tox
 script: TOXENV=py$(echo $TRAVIS_PYTHON_VERSION | tr -d .) tox -v