832 B
832 B
Running Coverity Scan Locally
-
Install Docker
-
Pull and run
ubuntu
image:$ docker pull ubuntu $ docker run -it ubuntu
Run the next steps inside Docker Ubuntu terminal
-
Install git:
$ sudo apt-update $ sudo apt-get install git
-
Get PJSIP:
$ cd $ git clone https://github.com/pjsip/pjproject.git
-
(For now) Switch to
coverity01
branch:$ git checkout coverity01
-
Get latest version
$ git pull
-
Set Coverity Scan token (from this page):
$ export COV_TOKEN=....
-
Run the scan and upload the result (run
run.sh -t
to skip uploading,-h
to get some help):$ cd pjproject $ tests/coverity-scan/run.sh