Author: cito Date: Sun Feb 7 09:49:29 2016 New Revision: 836 Log: Add database configuration for Travis
Modified: branches/4.x/.travis.yml trunk/.travis.yml Modified: branches/4.x/.travis.yml ============================================================================== --- branches/4.x/.travis.yml Sun Feb 7 09:39:16 2016 (r835) +++ branches/4.x/.travis.yml Sun Feb 7 09:49:29 2016 (r836) @@ -7,3 +7,9 @@ - pip install . - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install unittest2; fi script: python setup.py test +addons: + postgresql: "9.1" +services: + - postgresql +before_script: + - psql -U postgres -c 'create database unittest' \ No newline at end of file Modified: trunk/.travis.yml ============================================================================== --- trunk/.travis.yml Sun Feb 7 09:39:16 2016 (r835) +++ trunk/.travis.yml Sun Feb 7 09:49:29 2016 (r836) @@ -9,3 +9,9 @@ - pip install . - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install unittest2; fi script: python setup.py test +addons: + postgresql: "9.4" +services: + - postgresql +before_script: + - psql -U postgres -c 'create database unittest' \ No newline at end of file _______________________________________________ PyGreSQL mailing list [email protected] https://mail.vex.net/mailman/listinfo.cgi/pygresql
