From 02087630c93f1a90346340e58b0a1c725752e1c4 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 29 May 2017 14:40:21 +0100 Subject: [PATCH 1/4] shippable.yml: added --- shippable.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 shippable.yml diff --git a/shippable.yml b/shippable.yml new file mode 100644 index 0000000..3d074c8 --- /dev/null +++ b/shippable.yml @@ -0,0 +1,8 @@ +language: java +jdk: +- oraclejdk8 +cache: + directories: + - "$HOME/.m2" +install: true +script: "./mvnw clean install" From 8c5a6e06fddbbb707730e1efe2563b82f3d8c834 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 29 May 2017 14:46:59 +0100 Subject: [PATCH 2/4] travis-ci: remove defensive checks --- travis-ci/travis-coveralls-report.sh | 6 +----- travis-ci/travis-deploy.sh | 4 +--- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/travis-ci/travis-coveralls-report.sh b/travis-ci/travis-coveralls-report.sh index 5ef727d..aab1704 100755 --- a/travis-ci/travis-coveralls-report.sh +++ b/travis-ci/travis-coveralls-report.sh @@ -1,7 +1,3 @@ #!/usr/bin/env bash -## Only send coveralls reports from Travis-CI. Some CIs, like Shippable, lie by setting TRAVIS=true. -## Currently, Shippable, does not set TRAVIS_LANGUAGE, but Travis-CI does. -if [ "$TRAVIS_LANGUAGE" = "java" ];then - ./mvnw --projects builder,plugin test jacoco:report coveralls:report -fi +./mvnw --projects builder,plugin test jacoco:report coveralls:report diff --git a/travis-ci/travis-deploy.sh b/travis-ci/travis-deploy.sh index cdc921b..240dd26 100755 --- a/travis-ci/travis-deploy.sh +++ b/travis-ci/travis-deploy.sh @@ -1,8 +1,6 @@ #!/usr/bin/env bash -## Only deploy from Travis-CI. Some CIs, like Shippable, lie by setting TRAVIS=true. -## Currently, Shippable, does not set TRAVIS_LANGUAGE, but Travis-CI does. -if [ "$TRAVIS_LANGUAGE" = "java" ] && [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then +if [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then openssl aes-256-cbc -K $encrypted_efec3258f55d_key -iv $encrypted_efec3258f55d_iv \ -in travis-ci/codesigning.asc.enc -out travis-ci/codesigning.asc -d gpg --batch --fast-import travis-ci/codesigning.asc From da5a14c1cea2e1a38cee58d42800cf05765e8ffe Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 29 May 2017 14:52:04 +0100 Subject: [PATCH 3/4] wercker.yml: added --- wercker.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 wercker.yml diff --git a/wercker.yml b/wercker.yml new file mode 100644 index 0000000..4c50a59 --- /dev/null +++ b/wercker.yml @@ -0,0 +1,7 @@ +box: maven:3.5.0-jdk-8 + +build: + steps: + - script: + name: maven clean install + code: ./mvnw clean install From 5b9e32d2eb469c5e85482a617dd4d70d4d3d72ca Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 29 May 2017 14:56:51 +0100 Subject: [PATCH 4/4] wercker.yml: rewritten --- wercker.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wercker.yml b/wercker.yml index 4c50a59..b152705 100644 --- a/wercker.yml +++ b/wercker.yml @@ -2,6 +2,5 @@ box: maven:3.5.0-jdk-8 build: steps: - - script: - name: maven clean install - code: ./mvnw clean install + - xenoterracide/maven: + goals: clean install