Mercurial > kallithea
annotate .travis.yml @ 2582:d01a01ec9d96 beta
use whoosh latest branch to fix py25 tests
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 10 Jul 2012 23:13:28 +0200 |
parents | 6ccf86ebfd4e |
children | a8835d6767a1 |
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 |
2582
d01a01ec9d96
use whoosh latest branch to fix py25 tests
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
19 - pip install https://bitbucket.org/mchaput/whoosh/get/2.4x.zip |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
20 - pip install . --use-mirrors |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
21 - pip install -r requirements.txt --use-mirrors |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
22 # command to run tests |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
23 script: nosetests |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
24 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
25 notifications: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
26 email: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
27 - marcinkuz@gmail.com |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
28 irc: "irc.freenode.org#rhodecode" |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
29 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
30 branches: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
31 only: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
32 - dev |