Show More
@@ -1,38 +1,42 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 | services: | |||
|
13 | - mysql | |||
|
14 | - postgresql | |||
|
15 | ||||
12 | # command to install dependencies |
|
16 | # command to install dependencies | |
13 | before_script: |
|
17 | before_script: | |
14 | - mysql -e 'create database rhodecode_test;' |
|
18 | - mysql -e 'create database rhodecode_test;' | |
15 | - psql -c 'create database rhodecode_test;' -U postgres |
|
19 | - psql -c 'create database rhodecode_test;' -U postgres | |
16 | - git --version |
|
20 | - git --version | |
17 |
|
21 | |||
18 | before_install: |
|
22 | before_install: | |
19 | - sudo apt-get remove git |
|
23 | - sudo apt-get remove git | |
20 | - sudo add-apt-repository ppa:pdoes/ppa -y |
|
24 | - sudo add-apt-repository ppa:pdoes/ppa -y | |
21 | - sudo apt-get update -y |
|
25 | - sudo apt-get update -y | |
22 | - sudo apt-get install git -y |
|
26 | - sudo apt-get install git -y | |
23 |
|
27 | |||
24 | install: |
|
28 | install: | |
25 | - pip install mysql-python psycopg2 mock unittest2 |
|
29 | - pip install mysql-python psycopg2 mock unittest2 | |
26 | - pip install . --use-mirrors |
|
30 | - pip install . --use-mirrors | |
27 |
|
31 | |||
28 | # command to run tests |
|
32 | # command to run tests | |
29 | script: nosetests |
|
33 | script: nosetests | |
30 |
|
34 | |||
31 | notifications: |
|
35 | notifications: | |
32 | email: |
|
36 | email: | |
33 | - marcinkuz@gmail.com |
|
37 | - marcinkuz@gmail.com | |
34 | irc: "irc.freenode.org#rhodecode" |
|
38 | irc: "irc.freenode.org#rhodecode" | |
35 |
|
39 | |||
36 | branches: |
|
40 | branches: | |
37 | only: |
|
41 | only: | |
38 | - dev |
|
42 | - dev |
General Comments 0
You need to be logged in to leave comments.
Login now