Mercurial > p > roundup > code
view .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 |
line wrap: on
line source
language: python python: - 2.7 sudo: false addons: apt: packages: # Required to build/install the xapian-binding - libxapian-dev # Required to install pyme - libgpgme11-dev - swig before_install: - cd /tmp - wget -q http://oligarchy.co.uk/xapian/1.2.8/xapian-bindings-1.2.8.tar.gz - tar -zxvf xapian-bindings-1.2.8.tar.gz - cd xapian-bindings-1.2.8/ - ./configure --prefix=$VIRTUAL_ENV --with-python && make && make install # change back to the checked out repository directory - cd $TRAVIS_BUILD_DIR install: - pip install MySQL-python psycopg2 pytz pyme - pip install pytest-cov codecov before_script: # set up mysql database - mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";' # set up postgresql database - psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres # HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901 # needed for test_mysql.mysqlDBTest.testFilteringSpecialChars - sed -i 's/CREATE DATABASE \%s/CREATE DATABASE \%s COLLATE utf8_general_ci/' roundup/backends/back_mysql.py script: - py.test -v test/ --cov=roundup after_success: - codecov
