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