CI: General improvements

This commit is contained in:
Álvaro Arranz 2018-07-12 01:01:46 +02:00
parent d1b8eb2662
commit 8d0a086159
No known key found for this signature in database
GPG Key ID: A9BA9AAE8CF561AB
2 changed files with 18 additions and 7 deletions

View File

@ -3,7 +3,9 @@ language: python
python:
- "2.7"
env:
- CKANVERSION=2.7.2 POSTGISVERSION=2
- CKANVERSION=2.6.3
- CKANVERSION=2.7.3
- CKANVERSION=2.8.0
services:
- redis-server
- postgresql
@ -12,12 +14,12 @@ addons:
install:
- bash bin/travis-build.bash
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script:
- sh bin/travis-run.sh
after_success: coveralls
branches:
only:
- develop
only:
- master

View File

@ -1,3 +1,9 @@
[bdist_wheel]
universal = 1
[flake8]
ignore=E501
[metadata]
description-file = README.md
@ -9,4 +15,7 @@ with-coverage=1
cover-package=ckanext.privatedatasets
cover-inclusive=1
cover-erase=1
cover-xml=1
cover-xml=1
[pep8]
ignore=E501