added .travis.yml

This commit is contained in:
mdipierro
2013-03-15 14:55:36 -05:00
parent b040159a9b
commit f693fe6b2a
3 changed files with 26 additions and 18 deletions

25
.travis.yml Normal file
View File

@@ -0,0 +1,25 @@
language: python
python:
#Temporarily disable 2.5 tests - '2.5'
- '2.6'
- '2.7'
env:
- DB=sqlite:memory
- DB=mysql://root:@localhost/test_w2p
- DB=postgres://postgres:@localhost/test_w2p
before_script:
- pip install unittest2
- pip install psycopg2
- if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors pysqlite; fi
- mysql -e 'create database test_w2p;'
- psql -c 'create database test_w2p;' -U postgres
#Temporal solution to travis issue #155
- sudo chmod 777 /dev/shm
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
script: PYTHONPATH=. unit2 -v gluon.tests
notifications:
email: false
irc:
channels: "irc.freenode.org#web2py"

View File

@@ -1 +1 @@
Version 2.4.4-stable+timestamp.2013.03.15.14.13.59
Version 2.4.4-stable+timestamp.2013.03.15.14.54.45

View File

@@ -1,17 +0,0 @@
language: python
python:
- '2.5'
- '2.6'
- '2.7'
before_script:
- pip install unittest2
- mysql -e 'create database test_pymysql;'
- mysql -e 'create database test_pymysql2;'
script: PYTHONPATH=. unit2 -v gluon.tests
notifications:
irc:
channels: "irc.freenode.org#web2py"