[ckan-changes] [ckan/ckan] 96d3b8: Overhaul CKAN extension Travis template
David Read
noreply at github.com
Fri May 3 19:14:29 UTC 2019
Branch: refs/heads/extension-template-travis
Home: https://github.com/ckan/ckan
Commit: 96d3b8dd672e3794e78f9e802d1b58cfadceaad7
https://github.com/ckan/ckan/commit/96d3b8dd672e3794e78f9e802d1b58cfadceaad7
Author: David Read <david.read at hackneyworkshop.com>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M ckan/pastertemplates/template/+dot+travis.yml_tmpl
M ckan/pastertemplates/template/bin/travis-build.bash_tmpl
M ckan/pastertemplates/template/bin/travis-run.sh_tmpl
Log Message:
-----------
Overhaul CKAN extension Travis template
* add tests for multiple CKAN versions
* add fix for psycopg2 error with CKAN<2.8
* add correct setuptools version for CKAN==2.7
* `--allow-all-external` option was deprecated and removed in pip 10
* SOLR's config sed command is moved, to travis-build.bash, with the other setup, and in line with ckanext-dcat
* flake8's simple checks for syntax is moved from a travis job to travis-run.sh, because it runs in 0.5s, but setting up the VM for the job takes 30-60s, so might as well just run it at the start of the test jobs. The point is to fail fast. This requires the addition of 'set -ex' in the .
* add strict flake8 linting - this is perhaps a matter of taste, but as a practice it's more popular than ever now, and it's always easiest to do it from the beginning of an extension's life.
More information about the ckan-changes
mailing list