Show More
@@ -1,30 +1,37 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 | - 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 | install: |
|
23 | install: | |
18 | - pip install mysql-python psycopg2 mock unittest2 |
|
24 | - pip install mysql-python psycopg2 mock unittest2 | |
19 | - pip install . --use-mirrors |
|
25 | - pip install . --use-mirrors | |
|
26 | ||||
20 | # command to run tests |
|
27 | # command to run tests | |
21 | script: nosetests |
|
28 | script: nosetests | |
22 |
|
29 | |||
23 | notifications: |
|
30 | notifications: | |
24 | email: |
|
31 | email: | |
25 | - marcinkuz@gmail.com |
|
32 | - marcinkuz@gmail.com | |
26 | irc: "irc.freenode.org#rhodecode" |
|
33 | irc: "irc.freenode.org#rhodecode" | |
27 |
|
34 | |||
28 | branches: |
|
35 | branches: | |
29 | only: |
|
36 | only: | |
30 | - dev |
|
37 | - dev |
General Comments 0
You need to be logged in to leave comments.
Login now