Optimize CircleCI build (#756)

Optimize CircleCI build

Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com>
This commit is contained in:
Dominic Schabel
2018-10-16 17:00:00 +02:00
committed by GitHub
parent 1aed625fe6
commit ca65687fd5
2 changed files with 4 additions and 9 deletions

View File

@@ -29,15 +29,13 @@ jobs:
- restore_cache: - restore_cache:
key: circleci-hawkbit-{{ checksum "pom.xml" }} key: circleci-hawkbit-{{ checksum "pom.xml" }}
# Install dependencies
- run: - run:
name: Install without testing name: Install dependencies without testing
command: mvn install --batch-mode -DskipTests command: mvn install --batch-mode -DskipTests
# Run tests
- run: - run:
name: Test incl. license verification name: Run tests incl. license check
command: './.circleci/sonarCircleCi.sh' command: './.circleci/run-qa.sh'
# Record test results # Record test results
- run: mkdir -p testresults/junit/ - run: mkdir -p testresults/junit/
@@ -45,9 +43,6 @@ jobs:
- store_test_results: - store_test_results:
path: testresults/junit/ path: testresults/junit/
- store_artifacts:
path: testresults/junit/
destination: test-reports destination: test-reports
- store_artifacts: - store_artifacts:
@@ -61,5 +56,5 @@ jobs:
notify: notify:
webhooks: webhooks:
# gitter hook # Gitter hook
- url: https://webhooks.gitter.im/e/a20a6bc2bda5a8a77d39 - url: https://webhooks.gitter.im/e/a20a6bc2bda5a8a77d39