comparison .travis.yml @ 2561:6ccf86ebfd4e beta

tox+travis with multiple dbs
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 06 Jul 2012 16:25:34 +0200
parents
children d01a01ec9d96
comparison
equal deleted inserted replaced
2560:380d6d86da1f 2561:6ccf86ebfd4e
1 language: python
2 python:
3 - "2.5"
4 - "2.6"
5 - "2.7"
6
7 env:
8 - TEST_DB=sqlite:////tmp/rhodecode_test.sqlite
9 - TEST_DB=mysql://root@127.0.0.1/rhodecode_test
10 - TEST_DB=postgresql://postgres@127.0.0.1/rhodecode_test
11
12 # command to install dependencies
13 before_script:
14 - mysql -e 'create database rhodecode_test;'
15 - psql -c 'create database rhodecode_test;' -U postgres
16
17 install:
18 - pip install mysql-python psycopg2 mock unittest2
19 - pip install . --use-mirrors
20 - pip install -r requirements.txt --use-mirrors
21 # command to run tests
22 script: nosetests
23
24 notifications:
25 email:
26 - marcinkuz@gmail.com
27 irc: "irc.freenode.org#rhodecode"
28
29 branches:
30 only:
31 - dev