Mercurial > p > roundup > code
annotate .travis.yml @ 5087:39af8a0f3446
Applied patch attached to issue2550723. Problem in index page
@pagesize=0 not properly propigated to previous batch link (is set to
actual number of entries displayed).
Using demo.py verified original issue with 0 page size. Also verified
that a non-zero page size was properly propigated (values 5 and 20).
Applied patch attached to issue. Verified issue with size 0
fixed. Verified that values 5 and 20 worked correctly. Updated
CHANGES.txt.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 18 Jun 2016 23:49:41 -0400 |
| parents | de420f34d696 |
| children | a7cf77108e97 |
| rev | line source |
|---|---|
| 5003 | 1 language: python |
| 2 python: | |
| 3 - 2.7 | |
| 4 | |
| 5 sudo: false | |
| 6 | |
| 7 addons: | |
| 8 apt: | |
| 9 packages: | |
| 10 # Required to build/install the xapian-binding | |
| 11 - libxapian-dev | |
| 12 # Required to install pyme | |
| 13 - libgpgme11-dev | |
| 14 - swig | |
| 15 | |
| 16 before_install: | |
| 17 - cd /tmp | |
| 18 - wget -q http://oligarchy.co.uk/xapian/1.2.8/xapian-bindings-1.2.8.tar.gz | |
| 19 - tar -zxvf xapian-bindings-1.2.8.tar.gz | |
| 20 - cd xapian-bindings-1.2.8/ | |
| 21 - ./configure --prefix=$VIRTUAL_ENV --with-python && make && make install | |
| 22 | |
| 23 # change back to the checked out repository directory | |
| 24 - cd $TRAVIS_BUILD_DIR | |
| 25 | |
| 26 install: | |
|
5059
80b87ff8057b
Remove TravisCI support for python2.6
John Kristensen <john@jerrykan.com>
parents:
5003
diff
changeset
|
27 - pip install MySQL-python psycopg2 pytz pyme |
|
5060
de420f34d696
Add codecov support to TravisCI
John Kristensen <john@jerrykan.com>
parents:
5059
diff
changeset
|
28 - pip install pytest-cov codecov |
| 5003 | 29 |
| 30 before_script: | |
| 31 # set up mysql database | |
| 32 - mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";' | |
| 33 | |
| 34 # set up postgresql database | |
| 35 - psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres | |
| 36 | |
| 37 # HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901 | |
| 38 # needed for test_mysql.mysqlDBTest.testFilteringSpecialChars | |
| 39 - sed -i 's/CREATE DATABASE \%s/CREATE DATABASE \%s COLLATE utf8_general_ci/' roundup/backends/back_mysql.py | |
| 40 | |
| 41 script: | |
|
5060
de420f34d696
Add codecov support to TravisCI
John Kristensen <john@jerrykan.com>
parents:
5059
diff
changeset
|
42 - py.test -v test/ --cov=roundup |
|
de420f34d696
Add codecov support to TravisCI
John Kristensen <john@jerrykan.com>
parents:
5059
diff
changeset
|
43 |
|
de420f34d696
Add codecov support to TravisCI
John Kristensen <john@jerrykan.com>
parents:
5059
diff
changeset
|
44 after_success: |
|
de420f34d696
Add codecov support to TravisCI
John Kristensen <john@jerrykan.com>
parents:
5059
diff
changeset
|
45 - codecov |
