[ckan-changes] [ckan/ckan] f56f5e: Overhaul CKAN extension Travis template

Ian Ward noreply at github.com
Tue May 7 12:14:24 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: f56f5e68aaabea4e66b2a2fb0b5de887f312decd
      https://github.com/ckan/ckan/commit/f56f5e68aaabea4e66b2a2fb0b5de887f312decd
  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
    M ckan/pastertemplates/template/dev-requirements.txt_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.


  Commit: 39c1755a478caeca1ac20d76b789b3bb966b465d
      https://github.com/ckan/ckan/commit/39c1755a478caeca1ac20d76b789b3bb966b465d
  Author: Ian Ward <ian at excess.org>
  Date:   2019-05-07 (Tue, 07 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
    M ckan/pastertemplates/template/dev-requirements.txt_tmpl

  Log Message:
  -----------
  Merge pull request #4759 from ckan/extension-template-travis

Overhaul CKAN extension Travis template


Compare: https://github.com/ckan/ckan/compare/240d97ed35a6...39c1755a478c



More information about the ckan-changes mailing list