new travis.ci
This commit is contained in:
+3
-3
@@ -10,10 +10,10 @@ env:
|
|||||||
- DB=postgres://postgres:@localhost/test_w2p
|
- DB=postgres://postgres:@localhost/test_w2p
|
||||||
before_script:
|
before_script:
|
||||||
- pip install unittest2
|
- pip install unittest2
|
||||||
- pip install psycopg2
|
- if [[ $DB == postgres* ]]; then pip install --use-mirrors psycopg2; fi
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors pysqlite; fi
|
- if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors pysqlite; fi
|
||||||
- mysql -e 'create database test_w2p;'
|
- if [[ $DB == mysql* ]]; then mysql -e 'create database test_w2p;'; fi
|
||||||
- psql -c 'create database test_w2p;' -U postgres
|
- if [[ $DB == postgres* ]]; then psql -c 'create database test_w2p;' -U postgres; fi
|
||||||
#Temporal solution to travis issue #155
|
#Temporal solution to travis issue #155
|
||||||
- sudo chmod 777 /dev/shm
|
- sudo chmod 777 /dev/shm
|
||||||
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
|
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
|
||||||
|
|||||||
Reference in New Issue
Block a user