language: python
sudo: false
python:
  - "2.6"
  - "2.7_with_system_site_packages"
env:
  - "TRAC_TEST_DB_URI="
  - "TRAC_TEST_DB_URI=sqlite:test.db"
  - "TRAC_TEST_DB_URI=postgres://tracuser:password@localhost/trac?schema=tractest"
  - "TRAC_TEST_DB_URI=mysql://tracuser:password@localhost/trac"
before_install:
  - psql -U postgres -c "CREATE USER tracuser NOSUPERUSER NOCREATEDB CREATEROLE PASSWORD 'password';"
  - psql -U postgres -c "CREATE DATABASE trac OWNER tracuser;"
  - mysql -u root -e "CREATE DATABASE trac DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;"
  - mysql -u root -e "CREATE USER tracuser@localhost IDENTIFIED BY 'password';"
  - mysql -u root -e "GRANT ALL ON trac.* TO tracuser@localhost; FLUSH PRIVILEGES;"
install:
  - pip install -q Genshi==0.6.1 Babel configobj Pygments docutils lxml pytz twill==0.9.1 psycopg2 MySQL-python
  - echo ".uri = $TRAC_TEST_DB_URI" >Makefile.cfg
addons:
  apt:
    packages:
      - python-subversion
script:
  - make Trac.egg-info compile unit-test functional-test
notifications:
  email:
    recipients:
      - trac-builds@googlegroups.com

language: python
sudo: false
python:
  - "2.6"
  - "2.7_with_system_site_packages"
env:
  - "TRAC_TEST_DB_URI="
  - "TRAC_TEST_DB_URI=sqlite:test.db"
  - "TRAC_TEST_DB_URI=postgres://tracuser:password@localhost/trac?schema=tractest"
  - "TRAC_TEST_DB_URI=mysql://tracuser:password@localhost/trac"
before_install:
  - psql -U postgres -c "CREATE USER tracuser NOSUPERUSER NOCREATEDB CREATEROLE PASSWORD 'password';"
  - psql -U postgres -c "CREATE DATABASE trac OWNER tracuser;"
  - mysql -u root -e "CREATE DATABASE trac DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;"
  - mysql -u root -e "CREATE USER tracuser@localhost IDENTIFIED BY 'password';"
  - mysql -u root -e "GRANT ALL ON trac.* TO tracuser@localhost; FLUSH PRIVILEGES;"
install:
  - pip install -q Genshi==0.6.1 Babel configobj Pygments<2.1 docutils lxml pytz twill==0.9.1 psycopg2 MySQL-python
  - echo ".uri = $TRAC_TEST_DB_URI" >Makefile.cfg
addons:
  apt:
    packages:
      - python-subversion
script:
  - make Trac.egg-info compile unit-test functional-test
notifications:
  email:
    recipients:
      - trac-builds@googlegroups.com

Use Pygments < 2.1 in Travis CI tests
0.12.8dev: Use Pygments < 2.1 in Travis CI tests

Test failures with Pygments 2.1 were fixed on the 
1.0-stable branch but not backported to 0.12-stable.

Refs #12326, #12083.


git-svn-id: 7bda06b145a4a8e9a7f4be07d7c3eb82923a12d6@14730 af82e41b-90c4-0310-8c96-b1721e28e2e2
