in Education by
This is my pretty simple C++/CMake .travis.yml env: global: # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created # via the "travis encrypt" command using the project repo's public key - secure: "" addons: coverity_scan: project: name: "tinverse/tsm" build_command_prepend: cmake . build_command: make branch_pattern: coverity_scan script: - echo -n | openssl s_client -CApath /etc/ssl/certs -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- apt: sources: - ubuntu-toolchain-r-test packages: - gcc-5 - g++-5 - clang compiler: - gcc - clang install: # Use g++5.4 and not 4.6 (C++11 missing) - if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi Everything just builds fine. I do not see coverity run or upload anything. I added a 'COVERITY_SCAN_TOKEN' environment variable in travis with my unencrypted token. The build log is here: https://travis-ci.org/tinverse/tsm/jobs/509506031. I get a final "The command "./configure && make && make test" exited with 0." message from the travis-ci build log and that's it! Not sure what I'm doing wrong. Update: From the build log: depth=1 C = BE, O = GlobalSign nv-sa, CN = GlobalSign CloudSSL CA - SHA256 - G3 verify error:num=20:unable to get local issuer certificate verify return:0 DONE However, after adding the CApath option to the openssl command in .travil.yml in the before_install section of the script, I'm seeing echo -n | openssl s_client -CApath /etc/ssl/certs/ -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-certificates.crt depth=2 C = BE, O = GlobalSign nv-sa, OU = Root CA, CN = GlobalSign Root CA verify return:1 depth=1 C = BE, O = GlobalSign nv-sa, CN = GlobalSign CloudSSL CA - SHA256 - G3 verify return:1 depth=0 C = US, ST = Delaware, L = Dover, O = Incapsula Inc, CN = incapsula.com verify return:1 DONE So does a non-zero return here mean success? Still, looking at the travis-ci build log, I don't think coverity scan ran. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
My branch was called feature/coverity_scan and I thought branch_pattern: coverity_scan would work. It did not. After renaming my branch to coverity_scan, it worked. Also, adding dist: xenial to the .travis.yml file make the certificate errors go away.

Related questions

0 votes
    I am creating a maven project from scratch, first just learn how to use maven. The main project contains ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 18, 2022 in Education by JackTerrance
0 votes
    I am creating a maven project from scratch, first just learn how to use maven. The main project contains ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 8, 2022 in Education by JackTerrance
0 votes
    A programmer builds a _________ to avoid repeating the same task or reduce complexity. (a) Function (b) Package ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Which of the following builds empirical cumulative distribution function? (a) ecdf() (b) cum (c) cumsum (d ... of R Programming Select the correct answer from above options...
asked Feb 11, 2022 in Education by JackTerrance
0 votes
    I have defined an interface in C++, i.e. a class containing only pure virtual functions. I want ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 13, 2022 in Education by JackTerrance
0 votes
    I have defined an interface in C++, i.e. a class containing only pure virtual functions. I want ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 13, 2022 in Education by JackTerrance
0 votes
    I have defined an interface in C++, i.e. a class containing only pure virtual functions. I want ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 13, 2022 in Education by JackTerrance
0 votes
    This question already has answers here: How to access the correct `this` inside a callback (13 answers) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 4, 2022 in Education by JackTerrance
0 votes
    Tested for Bash 5.0.2 According to the GNU Bash Reference Manual, Bash performs the expansion [of a ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    Tested for Bash 5.0.2 According to the GNU Bash Reference Manual, Bash performs the expansion [of a ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 29, 2022 in Education by JackTerrance
0 votes
    Why does the AI seem so real and lifelike?...
asked Jan 30, 2023 in Technology by JackTerrance
0 votes
    I tried to connect to my dockerHub via travis ci echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 22, 2022 in Education by JackTerrance
0 votes
    I am trying to understand the usage of private const in the class. My understanding is that private const is used to make ... (void) { int const MyExample::x = 3; std::cout...
asked Apr 12, 2022 in Education by JackTerrance
0 votes
    How many types of data structures does R language have? (a) 2 (b) 3 (c) 5 (d) 8 I have ... Functions and Debugging of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
...