Skip to content

Google Code In Help Local usage

John Vandenberg edited this page Dec 2, 2016 · 1 revision

Using coala CI on your own computer

NOTE: This is not required for the beginner task

If you know how to set up Python, pip, git, etc. on your computer, you can run this procedure on your machine using the following commands, replacing your_username and your_selected_repository_name appropriately, to see coala operating in CI mode.

First try to install coala, coala-bears and coala-quickstart:

$ pip3 install coala~=0.8 coala-bears~=0.8 'git+https://github.com/jayvdb/coala-quickstart@gh_39'

coala and coala-bears have many Python dependencies which are 'pinned' at specific version ranges that the development team uses in testing, and these versions may conflict with other software that you have installed. If you see an error message after the above command, you should skip to the next section.

If the installation was successful, you can now clone your fork of the repository, and run coala in continuous integration mode:

$ git clone https://github.com/your_username/your_selected_repository_name
$ cd your_selected_repository_name
$ coala-quickstart --ci
$ coala-ci

It is very likely that you do not have all the dependencies on your computer, so coala-quickstart and coala will skip any unavailable checks.

So this section is only useful to see it working on your own computer.

Clone this wiki locally