pjsip-pjproject/tests/coverity-scan/README.md

832 B

Running Coverity Scan Locally

  1. Install Docker

  2. Pull and run ubuntu image:

    $ docker pull ubuntu
    $ docker run -it ubuntu
    

Run the next steps inside Docker Ubuntu terminal

  1. Install git:

    $ sudo apt-update
    $ sudo apt-get install git
    
  2. Get PJSIP:

    $ cd
    $ git clone https://github.com/pjsip/pjproject.git
    
  3. (For now) Switch to coverity01 branch:

    $ git checkout coverity01
    
  4. Get latest version

    $ git pull
    
  5. Set Coverity Scan token (from this page):

    $ export COV_TOKEN=....
    
  6. 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