-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
43 lines (25 loc) · 1.11 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Requirements
------------
You need Python 3.5 or later to run ci_tools
In Ubuntu, Mint and Debian you can install Python 3 like this:
$ sudo apt-get install python3 python3-pip
For other Linux flavors, OS X and Windows, packages are available at
http://www.python.org/getit/
Quick start
-----------
ci_tools can be installed using pip:
$ pip3 install --user -U .
If you want to run the latest version of the code, you can install from git:
$ pip3 install --user -U [email protected]:code-intelligence/ci-frontend.git
If you want to install the binaries in a specific folder:
$ python setup.py install --install-scripts /path/to/bin
Note, that the path needs to be in $PATH before running/testing the tools
If you are a developer, you should install this in editable mode:
$ python setup.py develop
For testing please execute after installing:
$ python setup.py pytest
If you want to see the code coverage, just run:
$ pytest --cov
Before running pytest once, you need to run the pytest from setup to fulfil
all pytest requirements
Note that in all cases ~/.local/bin needs to be in $PATH