Skip to content

Commit

Permalink
chore: continued moved to Circle 2
Browse files Browse the repository at this point in the history
  • Loading branch information
rhuss committed Jul 6, 2018
1 parent bbc0c94 commit 63c8f1e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
17 changes: 16 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,27 @@ jobs:
- checkout
- restore_cache:
key: dmp-{{ checksum "pom.xml" }}
- run: mvn install
- run: mvn install -Pjacoco
- run: bash <(curl -s https://codecov.io/bash)
- save_cache:
key: dmp-{{ checksum "pom.xml" }}
paths:
- ~/.m2

sonar:
working_directory: ~/fabric8io/dmp-sonar
docker:
- image: circleci/openjdk:8-node-browsers
steps:
- checkout
- restore_cache:
key: dmp-sonar-{{ checksum "pom.xml" }}
- run: mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${SONAR_TOKEN}
- save_cache:
key: dmp-sonar-{{ checksum "pom.xml" }}
paths:
- ~/.m2

workflows:
version: 2
all:
Expand Down
7 changes: 1 addition & 6 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,11 @@ coverage:
range: "45...90"
precision: 2
round: down
notify:
slack:
default:
url: "https://hooks.slack.com/services/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"
threshold: "2%"
status:
project:
default:
threshold: "2%"
comment:
layout: "header, diff, tree, sunburst"
require_changes: true

11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

0 comments on commit 63c8f1e

Please sign in to comment.