diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 237b411..0000000 --- a/.travis.yml +++ /dev/null @@ -1,40 +0,0 @@ -language: java -jdk: - - openjdk8 - - openjdk11 - - openjdk-ea -install: true -before_install: - - if [ ! -z "$GPG_SECRET_KEYS" ]; then echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import; fi - - if [ ! -z "$GPG_OWNERTRUST" ]; then echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust; fi -script: - - mvn integration-test -Dgpg.skip -Dmaven.javadoc.skip=true -B -V -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -jobs: - allow_failures: - - jdk: openjdk11 - - jdk: openjdk-ea - fast_finish: true - include: - - stage: deploy - if: branch =~ /^(?:master|\d+\.\d+(\.\d+)?(-\S*)?)$/ AND type != pull_request AND fork = false - script: skip - jdk: openjdk8 - deploy: - - - provider: script - script: .travis/deploy.sh - skip_cleanup: true - on: - repo: rapid7/recog-java - branch: master - - - provider: script - script: .travis/deploy.sh - skip_cleanup: true - on: - repo: rapid7/recog-java - tags: true -cache: - directories: - - $HOME/.m2 - - target/recog diff --git a/.travis/deploy.sh b/.travis/deploy.sh deleted file mode 100755 index 2a04564..0000000 --- a/.travis/deploy.sh +++ /dev/null @@ -1,9 +0,0 @@ -if [ ! -z "$TRAVIS_TAG" ] -then - echo "on a tag -> set pom.xml to $TRAVIS_TAG" - mvn --settings .travis/settings.xml org.codehaus.mojo:versions-maven-plugin:2.1:set -DnewVersion=$TRAVIS_TAG 1>/dev/null 2>/dev/null -else - echo "not on a tag -> keep snapshot version in pom.xml" -fi - -mvn clean deploy --settings .travis/settings.xml -DskipTests=true -Dmaven.antrun.skip=true -Prelease -B -V -U -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn diff --git a/.travis/settings.xml b/.travis/settings.xml deleted file mode 100644 index 6f2d6bb..0000000 --- a/.travis/settings.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - ossrh - ${env.SONATYPE_USERNAME} - ${env.SONATYPE_PASSWORD} - - - - - ossrh - - true - - - ${env.GPG_EXECUTABLE} - ${env.GPG_PASSPHRASE} - - - -