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