Skip to content

Commit

Permalink
Added CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Apr 20, 2018
1 parent 3037358 commit 337f366
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: 2
jobs:
build:
docker:
- image: springcloud/pipeline-base
environment:
JAVA_TOOL_OPTIONS: "-Xms512m -Xmx768m"
TERM: dumb
branches:
ignore:
- gh-pages # list of branches to ignore
resource_class: large
steps:
- setup_remote_docker
- checkout
- run:
name: "Running build"
command: ./scripts/runAcceptanceTests.sh
- run:
name: "Aggregate test results"
when: always
command: |
mkdir -p $CIRCLE_TEST_REPORTS/junit/
find . -type f -regex ".*/target/.*-reports/.*" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
find . -type f -regex ".*/build/test-results/.*" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
bash <(curl -s https://codecov.io/bash)
- store_artifacts:
path: /junit/
destination: artifacts
- store_test_results:
path: /junit/
destination: testartifacts

0 comments on commit 337f366

Please sign in to comment.