.travis.yml - Travis CI configuration¶
See https://docs.travis-ci.com/user/multi-os/.
See https://docs.travis-ci.com/user/languages/python.
before_install: Perform the manual steps on OS X to install python3 and activate venv, since Python support is not available, per the list of unsupported languages on OS X. The following approach is based on a workaround. This was modified based on instructions to install multiple Python versions on OS X. See also the pyenv docs.
Install graphviz on Linux.
Make sure we’re using the latest version of pip. Use the approach which Appveyor requires to keep the CI files as close as possible.
See here.
Run the tests.
On OS X, py.test
with no parameters runs all CodeChat tests, then
discovers others that fail. Try to avoid this. Also, invoking py.test
refers to the system Python. So, run it as a module to use the selected
Python 3 version.