maphew

Travis CI enabled

Thursday, October 4, 2018

Hi Devs,

I've enabled Travis Continual Integration on the devel branch with PR#972 (plus the few commits immediately following). Github will now show a status indicator after every commit in the branch. A green check mark means pass, red x the build failed, no indicator means travis didn't do anything (e.g couldn't parse the config file).

Today, a green check mark today means these were successful:

  • git clone Leo and checkout the latest commit
  • use pip to build a Leo wheel package

     

  • pip install the Leo wheel into the travis VM
  • run Leo in console mode and return a version number (`leo-console --version`)

Someday real soon, it will also:

  • upload a release to PyPi.org if commit is a tag and branch is master

Someday maybe, it will also:

  • Run all Leo's unit tests.

...but that's for someone more skilled than myself to figure out how to add!

A doc stub for using/administering it has been added LeoDist->Notes.

Full details on what travis is actually doing can be seen at https://travis-ci.org/leo-editor/leo-editor (In real time no less, it's very cool!)

Article Image

Matt