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