Mercurial > kallithea
annotate .travis.yml @ 2727:5899fe08f063 beta
Forbid adding files and editing from web interface while repo is locked
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 22 Aug 2012 00:40:24 +0200 |
parents | 8e6cf847d9d8 |
children | 63d3d20cad95 |
rev | line source |
---|---|
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 language: python |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 python: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 - "2.5" |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 - "2.6" |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
5 - "2.7" |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 env: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
8 - TEST_DB=sqlite:////tmp/rhodecode_test.sqlite |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 - TEST_DB=mysql://root@127.0.0.1/rhodecode_test |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
10 - TEST_DB=postgresql://postgres@127.0.0.1/rhodecode_test |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
11 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 # command to install dependencies |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 before_script: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 - mysql -e 'create database rhodecode_test;' |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 - psql -c 'create database rhodecode_test;' -U postgres |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
17 install: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 - pip install mysql-python psycopg2 mock unittest2 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 - pip install . --use-mirrors |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
20 # command to run tests |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
21 script: nosetests |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
22 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
23 notifications: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
24 email: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
25 - marcinkuz@gmail.com |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
26 irc: "irc.freenode.org#rhodecode" |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
27 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
28 branches: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
29 only: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
30 - dev |