Merge pull request #48 from kemitix/shippable-config

shippable.yml: added
This commit is contained in:
Paul Campbell 2017-05-29 15:09:12 +01:00 committed by GitHub
commit aa7f886e6d
4 changed files with 16 additions and 8 deletions

8
shippable.yml Normal file
View file

@ -0,0 +1,8 @@
language: java
jdk:
- oraclejdk8
cache:
directories:
- "$HOME/.m2"
install: true
script: "./mvnw clean install"

View file

@ -1,7 +1,3 @@
#!/usr/bin/env bash #!/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 ./mvnw --projects builder,plugin test jacoco:report coveralls:report
fi

View file

@ -1,8 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
## Only deploy from Travis-CI. Some CIs, like Shippable, lie by setting TRAVIS=true. if [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then
## Currently, Shippable, does not set TRAVIS_LANGUAGE, but Travis-CI does.
if [ "$TRAVIS_LANGUAGE" = "java" ] && [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then
openssl aes-256-cbc -K $encrypted_efec3258f55d_key -iv $encrypted_efec3258f55d_iv \ openssl aes-256-cbc -K $encrypted_efec3258f55d_key -iv $encrypted_efec3258f55d_iv \
-in travis-ci/codesigning.asc.enc -out travis-ci/codesigning.asc -d -in travis-ci/codesigning.asc.enc -out travis-ci/codesigning.asc -d
gpg --batch --fast-import travis-ci/codesigning.asc gpg --batch --fast-import travis-ci/codesigning.asc

6
wercker.yml Normal file
View file

@ -0,0 +1,6 @@
box: maven:3.5.0-jdk-8
build:
steps:
- xenoterracide/maven:
goals: clean install