Skip to content

Commit

Permalink
Remove sonarcube and coverity from build
Browse files Browse the repository at this point in the history
  • Loading branch information
VassilIordanov committed Oct 19, 2018
1 parent 38f22be commit 1e28232
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 32 deletions.
21 changes: 1 addition & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,34 +26,15 @@ cache:
- $HOME/.sonar/cache
- client/node_modules

before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-

#By default travis runs gradle assemble in install. This is too early as we don't want to build yet
install: true

script:
- ./gradlew --parallel dockerCreateDB dockerStartDB jar dockerWaitForDB dbMigrate dockerLoadDB check test jacocoTestReport sonarqube
- ./gradlew --parallel dockerCreateDB dockerStartDB jar dockerWaitForDB dbMigrate dockerLoadDB check test jacocoTestReport

after_script:
- docker logs anet-mssql-server

addons:
coverity_scan:
project:
name: "NCI-Agency/anet"
notification_email: vassil.iordanov@gmail.com
build_command_prepend: "COV_BUILD_OPTIONS='--fs-capture-search src --fs-capture-search client' && ./gradlew clean"
build_command: "./gradlew build -x test"
branch_pattern: candidate_scan
sonarcloud:
organization: "nci-agency-github"
token:
secure: "ICZTls70jFc6JIZV6cicKUpAKr2sDt9LKWnFzgGm92uDq/2J1Od7oewUAAEjykKa2qw42BZYaG1z3LX5UFtLhp9b/NFibf392U0V4I7jmeb4HDjOv855hTPosm5N7K9YQ3MUsSDLxVe+5DhrmwYQ3PSkG0lXKj0NRdAu7dpaBqMntBpTtdO5nQDKyxQ9UCrVSRjdU0YqHT8q4EWpii/MqWH6SRVUslvvKXTan2d6JnT+QaWuW8bTR0zhgpyxl5y8kOe0JBQ45M5vKO6yTcVj4UdolB0y+CZlblk/59iZK1bn/Is0qijWmHKh1Z3OORdlesXumUAveCX3VCMvvuPUz95a3nc+6S4I6iNIOcA8tzJ2AFP5oBuPIrl8o3S0BKxHTBssBzomo1e7tzDqXJF141tJOm0yUIB5Lmb9LV9KcWa1gAB2pk9ToX8e0NH4OLIqUUlLrNAkHX1sKHXO4AM3odHf1bTlOp7dOUszD2/E1umPjEWT3NH94LQStPubg+d2Kai2rQppxHlVKwAIVcBkP/d2nVtIwJsuRKmPbUIgAds7fYrxZpdDoM7AxjNLrCk3OPR1tYWwlUyProrAIJXDy7LlP14a4oM8dtaXGAnQar6nXtuqxiS4KMojPhW4rWXvRbCiBhYmLvuMMjW+kN1ITOy/h6x4Q7ZBLf+pU5C3Va0="
branches:
- master
- candidate_scan

# Travis will publish docker images to docker hub of any tagged revision in candidate. This will therefore include all ANET releases.
# If one wants to have a demo built out of a container, adding tag such as `demo-new-feature-XYZ` will do the job
after_success:
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@

[![Demo](https://img.shields.io/badge/demo-online-brightgreen.svg)](http://anet-demo.azurewebsites.net)
[![Build Status](https://travis-ci.org/NCI-Agency/anet.svg?branch=candidate)](https://travis-ci.org/NCI-Agency/anet)
[![Build Status](https://dev.azure.com/advisornetwork/anet/_apis/build/status/NCI-Agency.anet)](https://dev.azure.com/advisornetwork/anet/_build/latest?definitionId=1)
[![BrowserStack Status](https://www.browserstack.com/automate/badge.svg?badge_key=SHc2WTI5cFg2Z2h2NFVzMWlYbXVkM2xCYTdZMzVPV2FzRUhEVUpEL3NTUT0tLTdFVy9CWmlRa04yMGlCZldialMxc3c9PQ==--097d5f51f524d9e66cffde76b48cc2116bbe3372)](https://www.browserstack.com/automate/public-build/SHc2WTI5cFg2Z2h2NFVzMWlYbXVkM2xCYTdZMzVPV2FzRUhEVUpEL3NTUT0tLTdFVy9CWmlRa04yMGlCZldialMxc3c9PQ==--097d5f51f524d9e66cffde76b48cc2116bbe3372)
[![Docker Pulls](https://img.shields.io/docker/pulls/ncia/anet-app-server.svg)](https://hub.docker.com/r/ncia/anet-app-server/)
[![Coverity Scan Build Status](https://scan.coverity.com/projects/14060/badge.svg)](https://scan.coverity.com/projects/nci-agency-anet)
[![Quality Gate](https://sonarcloud.io/api/badges/gate?key=ncia%3Aanet%3Acandidate)](https://sonarcloud.io/dashboard?id=ncia%3Aanet%3Acandidate)
<a href="https://www.versioneye.com/user/projects/5a3bb1280fb24f7a580004a9"><img src="https://www.versioneye.com/user/projects/5a3bb1280fb24f7a580004a9/badge.svg?style=flat-square"></a>

## What is ANET?

Expand Down
9 changes: 0 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ apply plugin: 'checkstyle'
apply plugin: 'org.kordamp.markdown.convert'
apply plugin: 'com.bmuschko.docker-remote-api'
apply plugin: 'com.moowork.node'
apply plugin: "org.sonarqube"
apply plugin: 'project-report' // adds dependencyReport and htmlDependencyReport tasks

sourceCompatibility = 1.8
Expand Down Expand Up @@ -309,7 +308,6 @@ buildscript {
classpath "org.kordamp:markdown-gradle-plugin:1.2.0"
classpath 'com.bmuschko:gradle-docker-plugin:4.0.0'
classpath "com.moowork.gradle:gradle-node-plugin:1.2.0"
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.2"
}
}

Expand All @@ -332,10 +330,3 @@ node {
version = '8.11.2'
download = true
}

sonarqube {
properties {
property "sonar.sources", "src/main/java,client/src"
property "sonar.tests", "src/test/java,client/tests"
}
}

0 comments on commit 1e28232

Please sign in to comment.