Show More
@@ -1,32 +1,31 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 |
|
19 | - pip install https://bitbucket.org/mchaput/whoosh/get/2.4x.zip | |
20 | - pip install . --use-mirrors |
|
20 | - pip install . --use-mirrors | |
21 | - pip install -r requirements.txt --use-mirrors |
|
|||
22 | # command to run tests |
|
21 | # command to run tests | |
23 | script: nosetests |
|
22 | script: nosetests | |
24 |
|
23 | |||
25 | notifications: |
|
24 | notifications: | |
26 | email: |
|
25 | email: | |
27 | - marcinkuz@gmail.com |
|
26 | - marcinkuz@gmail.com | |
28 | irc: "irc.freenode.org#rhodecode" |
|
27 | irc: "irc.freenode.org#rhodecode" | |
29 |
|
28 | |||
30 | branches: |
|
29 | branches: | |
31 | only: |
|
30 | only: | |
32 | - dev |
|
31 | - dev |
General Comments 0
You need to be logged in to leave comments.
Login now