Skip to content

Commit

Permalink
Switch from Travis to CircleCI to enable quiet build
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Jun 21, 2018
1 parent 8079de2 commit dcbcdc9
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 22 deletions.
25 changes: 25 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 2
jobs:
build:
docker:
- image: circleci/openjdk:8-jdk-browsers
working_directory: ~/repo
environment:
JVM_OPTS: -Xmx3200m
TERM: dumb
steps:
- checkout
- restore_cache: # restore the saved cache after the first run or if `pom.xml` has changed
key: winery-{{ checksum "pom.xml" }}
- run: mvn -q package
- save_cache: # saves the project dependencies
paths:
- ~/.m2
key: winery-{{ checksum "pom.xml" }}
- run: mkdir -p collected-surefire-reports && find . -mindepth 2 -maxdepth 3 -type d -name "surefire-reports" -exec bash -c 'cp -r {}/* collected-surefire-reports/' Cp {} \;
- store_test_results: # uploads the test metadata from the `target/surefire-reports` directory so that it can show up in the CircleCI dashboard.
path: collected-surefire-reports/
- run: mkdir -p collected-artifacts && find . -mindepth 3 -maxdepth 4 -type f -name "*.jar" -exec cp -r {} collected-artifacts/ \;
- run: mkdir -p collected-artifacts && find . -mindepth 3 -maxdepth 4 -type f -name "*.war" -exec cp -r {} collected-artifacts/ \;
- store_artifacts:
path: collected-artifacts/
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ indent_size = 2
[*.sh]
indent_size = 2

[*.yaml]
indent_size = 2

[*.yml]
indent_size = 2

[bower.json]
indent_size = 2

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ release.properties
**/pom.xml.*
**/rebel.xml
target/
collected-*/
node_modules/
winery-debug.log
**/gen/**
Expand Down
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

0 comments on commit dcbcdc9

Please sign in to comment.