Wednesday, July 17, 2013

Testing PostgreSQL extensions on Travis CI

I have cobbled together some scripts to be able to test PostgreSQL extensions against multiple PostgreSQL major versions on Travis CI. (This requires that the extension is hosted on GitHub.) See the configuration for PL/sh and the build output as examples. Perhaps others will find this useful for their extensions as well.

3 comments:

  1. Have you tried using COLLATIONs on Travis CI? It seems to be broken.

    ReplyDelete
    Replies
    1. I have not, but I don't see why it wouldn't work.

      Delete
  2. Yes, that's what I thought. I opened an issue (https://github.com/travis-ci/travis-ci/issues/1242 ) but there's no response so far. Separately, Daniele Varrazzo suggested running strace on a standalone backend but that would require setting up an Ubuntu Travis VM and currently I'd rather not go that far.

    ReplyDelete