Mercurial > kallithea
annotate .travis.yml @ 3720:9855b31d033b beta
pullrequests: fix changesets ordering being reversed when creating new pull requests
41b4edf77b5b tried to make the displayed order of changeset consistent: The
topmost is always the latest.
That did however also reverse the ordering of the changesets sent back in the
post when used in the pull request creation form. Displaying the pull request
later on would reverse it again and thus show it in the 'wrong' order.
We now undo that reversing when creating the pull requests, and the stored data
will thus be the same as before.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 04 Apr 2013 18:50:08 +0200 |
parents | 925c77b9d3f1 |
children | 69377d1d7604 |
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 |
2834
925c77b9d3f1
travis configu updates
Marcin Kuzminski <marcin@python-works.com>
parents:
2743
diff
changeset
|
12 services: |
925c77b9d3f1
travis configu updates
Marcin Kuzminski <marcin@python-works.com>
parents:
2743
diff
changeset
|
13 - mysql |
925c77b9d3f1
travis configu updates
Marcin Kuzminski <marcin@python-works.com>
parents:
2743
diff
changeset
|
14 - postgresql |
925c77b9d3f1
travis configu updates
Marcin Kuzminski <marcin@python-works.com>
parents:
2743
diff
changeset
|
15 |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 # command to install dependencies |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
17 before_script: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 - mysql -e 'create database rhodecode_test;' |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 - psql -c 'create database rhodecode_test;' -U postgres |
2742
63d3d20cad95
Take that travis !
Marcin Kuzminski <marcin@python-works.com>
parents:
2638
diff
changeset
|
20 - git --version |
63d3d20cad95
Take that travis !
Marcin Kuzminski <marcin@python-works.com>
parents:
2638
diff
changeset
|
21 |
63d3d20cad95
Take that travis !
Marcin Kuzminski <marcin@python-works.com>
parents:
2638
diff
changeset
|
22 before_install: |
2743
64ee7cf4a76d
remove GIT before installing this ppa to fix upgrade issues
Marcin Kuzminski <marcin@python-works.com>
parents:
2742
diff
changeset
|
23 - sudo apt-get remove git |
2742
63d3d20cad95
Take that travis !
Marcin Kuzminski <marcin@python-works.com>
parents:
2638
diff
changeset
|
24 - sudo add-apt-repository ppa:pdoes/ppa -y |
63d3d20cad95
Take that travis !
Marcin Kuzminski <marcin@python-works.com>
parents:
2638
diff
changeset
|
25 - sudo apt-get update -y |
63d3d20cad95
Take that travis !
Marcin Kuzminski <marcin@python-works.com>
parents:
2638
diff
changeset
|
26 - sudo apt-get install git -y |
2561
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 install: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
29 - pip install mysql-python psycopg2 mock unittest2 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
30 - pip install . --use-mirrors |
2742
63d3d20cad95
Take that travis !
Marcin Kuzminski <marcin@python-works.com>
parents:
2638
diff
changeset
|
31 |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
32 # command to run tests |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
33 script: nosetests |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
34 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
35 notifications: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
36 email: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
37 - marcinkuz@gmail.com |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
38 irc: "irc.freenode.org#rhodecode" |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
39 |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
40 branches: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
41 only: |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
42 - dev |