new .travis.ci for Pypy testing, thanks Niphlod

This commit is contained in:
mdipierro
2013-04-07 19:42:41 -05:00
parent 96fb5b0755
commit 35704f3527
2 changed files with 11 additions and 5 deletions
+10 -4
View File
@@ -4,22 +4,28 @@ python:
- '2.5'
- '2.6'
- '2.7'
- 'pypy'
env:
- DB=sqlite:memory
- DB=mysql://root:@localhost/test_w2p
- DB=postgres://postgres:@localhost/test_w2p
before_script:
- pip install unittest2
- if [[ $DB == postgres* ]]; then pip install --use-mirrors psycopg2; fi
- if [[ $DB == postgres* ]]; then pip install --use-mirrors psycopg2; fi;
- if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors pysqlite; fi
- if [[ $DB == mysql* ]]; then mysql -e 'create database test_w2p;'; fi
- if [[ $DB == postgres* ]]; then psql -c 'create database test_w2p;' -U postgres; fi
#Temporal solution to travis issue #155
- sudo chmod 777 /dev/shm
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
matrix:
exclude:
- python: 'pypy'
env: DB=postgres://postgres:@localhost/test_w2p
- python: 'pypy'
env: DB=mysql://root:@localhost/test_w2p
script: PYTHONPATH=. unit2 -v gluon.tests
notifications:
email: false
irc:
channels: "irc.freenode.org#web2py"
email: true
+1 -1
View File
@@ -1 +1 @@
Version 2.4.6-stable+timestamp.2013.04.07.19.36.49
Version 2.4.6-stable+timestamp.2013.04.07.19.41.51