Show More
@@ -1,30 +1,37 b'' | |||
|
1 | 1 | language: python |
|
2 | 2 | python: |
|
3 | 3 | - "2.5" |
|
4 | 4 | - "2.6" |
|
5 | 5 | - "2.7" |
|
6 | 6 | |
|
7 | 7 | env: |
|
8 | 8 | - TEST_DB=sqlite:////tmp/rhodecode_test.sqlite |
|
9 | 9 | - TEST_DB=mysql://root@127.0.0.1/rhodecode_test |
|
10 | 10 | - TEST_DB=postgresql://postgres@127.0.0.1/rhodecode_test |
|
11 | 11 | |
|
12 | 12 | # command to install dependencies |
|
13 | 13 | before_script: |
|
14 | 14 | - mysql -e 'create database rhodecode_test;' |
|
15 | 15 | - psql -c 'create database rhodecode_test;' -U postgres |
|
16 | - git --version | |
|
17 | ||
|
18 | before_install: | |
|
19 | - sudo add-apt-repository ppa:pdoes/ppa -y | |
|
20 | - sudo apt-get update -y | |
|
21 | - sudo apt-get install git -y | |
|
16 | 22 | |
|
17 | 23 | install: |
|
18 | 24 | - pip install mysql-python psycopg2 mock unittest2 |
|
19 | 25 | - pip install . --use-mirrors |
|
26 | ||
|
20 | 27 | # command to run tests |
|
21 | 28 | script: nosetests |
|
22 | 29 | |
|
23 | 30 | notifications: |
|
24 | 31 | email: |
|
25 | 32 | - marcinkuz@gmail.com |
|
26 | 33 | irc: "irc.freenode.org#rhodecode" |
|
27 | 34 | |
|
28 | 35 | branches: |
|
29 | 36 | only: |
|
30 | 37 | - dev |
General Comments 0
You need to be logged in to leave comments.
Login now