Merge pull request #42 from aarranz/feature/improved-ci

CI: General improvements
This commit is contained in:
Álvaro Arranz 2018-07-12 01:04:18 +02:00 committed by GitHub
commit b0e30ae0f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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