diff --git a/.deploy.sh b/.deploy.sh deleted file mode 100644 index fb40b8a..0000000 --- a/.deploy.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -set -e - -if [[ "${TRAVIS_PULL_REQUEST}" != "false" ]]; then - echo "Skipping deployment for pull request" - exit -else - echo "Setting security" - echo ${GPG_SECRET_KEYS} | base64 --decode | ${GPG_EXECUTABLE} --import - echo ${GPG_OWNERTRUST} | base64 --decode | ${GPG_EXECUTABLE} --import-ownertrust -fi - -if [[ -n ${TRAVIS_TAG} ]]; then - echo "on a tag -> set pom.xml to $TRAVIS_TAG" - mvn --settings maven_deploy_settings.xml org.codehaus.mojo:versions-maven-plugin:2.2:set -DnewVersion=${TRAVIS_TAG} 1>/dev/null 2>/dev/null - echo "release deploy" - mvn -B clean deploy --settings maven_deploy_settings.xml -P release -Dfindbugs.skip=true -Djacoco.skip=true -else - if [[ ${TRAVIS_BRANCH} != 'master' ]]; then - echo "Skipping deployment for branch \"${TRAVIS_BRANCH}\"" - exit - fi - mvn -B deploy --settings maven_deploy_settings.xml -DskipTests=true -Dfindbugs.skip=true -Djacoco.skip=true -fi diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 599d14e..0000000 --- a/.travis.yml +++ /dev/null @@ -1,45 +0,0 @@ -language: java -dist: trusty -jdk: - - oraclejdk8 -after_success: - - mvn -B jacoco:report coveralls:report - - travis_wait 60 bash .deploy.sh -cache: - directories: - - $HOME/.m2 -env: - global: - - secure: "BFd9+UEyNyxTod+M8VPzluy55zrwXv2H8riv57qIRA4s3hWOVlZJLYdroUEWkK7esPO4pRPAQcVh5E1snJMzSd8E1bVFl0bTqskRcI1x6wIVJbOs+rxE1If5P77hsbGtMLtE1vSj3dZe2K17q6PPIqT5Xhn6UwM7m4GgJYxNBmJP2HmZ1LVan2PQCgxmLhH9e0Bo/8QVUIalnoRdAWIa5lpnKaXgEx0M3lQe++V4CYNhi2lsMWmrPHvPI3wRnoZxMBYFTt8uNMAO9wvmvoUqaTg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CAQy+GcvOZU=" - -#matrix: -# include: -# - os: linux -# jdk: oraclejdk8 -# addons: -# apt: -# packages: -# - oracle-java8-installer -# - os: linux -# jdk: oraclejdk9 -# addons: -# apt: -# packages: -# - oracle-java9-installer - -#deploy: -# - provider: script -# script: .deploy.sh -# skip_cleanup: true -# on: -# repo: dhatim/safesql -# branch: master -# jdk: oraclejdk8 -# - provider: script -# script: .deploy.sh -# skip_cleanup: true -# on: -# repo: dhatim/safesql -# tags: true -# jdk: oraclejdk8 diff --git a/maven_deploy_settings.xml b/maven_deploy_settings.xml deleted file mode 100644 index fdcb223..0000000 --- a/maven_deploy_settings.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - sonatype-nexus-snapshots - ${env.CI_DEPLOY_USERNAME} - ${env.CI_DEPLOY_PASSWORD} - - - sonatype-nexus-staging - ${env.CI_DEPLOY_USERNAME} - ${env.CI_DEPLOY_PASSWORD} - - - - - - - sonatype-nexus-staging - - true - - - ${env.GPG_EXECUTABLE} - ${env.GPG_PASSPHRASE} - - - - -