Prevent running for jdk8 twice
@@ -4,9 +4,9 @@ env:
global:
- CODECOV_TOKEN="b5659ea0-f191-4e1d-9139-a8a31971c386"
-jdk:
- - oraclejdk8
- - oraclejdk11
+#jdk:
+# - oraclejdk8
+# - oraclejdk11
sudo: enabled
@@ -24,23 +24,30 @@ stages:
- name: Vault Acceptance Tests
- name: GRPC Only Acceptance Tests
- name: Simple Only Acceptance Tests
+ - name: Deploy
-before_script:
- - mvn install -DskipTests -P disable-acceptance-test,jnacl,reduce-logging || travis_terminate 1
+#before_script:
+# - mvn install -DskipTests -P disable-acceptance-test,jnacl,reduce-logging || travis_terminate 1
jobs:
include:
- stage: Test
+ jdk:
+ - oraclejdk8
+ - oraclejdk11
script:
- - mvn install -DskipTests -P disable-acceptance-test,jnacl,reduce-logging || travis_terminate 1
- mvn install -pl \!tests/acceptance-test -P reduce-logging || travis_terminate 1
- stage: Acceptance Tests
+ jdk:
+ - oraclejdk8
+ - oraclejdk11
script:
- - mvn install -DskipTests -P disable-acceptance-test,jnacl,reduce-logging || travis_terminate 1
- mvn verify -pl tests/acceptance-test -P reduce-logging || travis_terminate 1
- stage: Vault Acceptance Tests
+ jdk:
+ - oraclejdk8
+ - oraclejdk11
script:
- - mvn install -DskipTests -P disable-acceptance-test,jnacl,reduce-logging || travis_terminate 1
- mvn verify -pl tests/acceptance-test -P vault-acceptance-tests,reduce-logging || travis_terminate 1
install:
- wget https://releases.hashicorp.com/vault/1.0.1/vault_1.0.1_linux_amd64.zip -O /tmp/vault_1.0.1_linux_amd64.zip
@@ -48,13 +55,23 @@ jobs:
- unzip /tmp/vault_1.0.1_linux_amd64.zip
- export PATH=$PATH:$PWD && popd
- stage: GRPC Only Acceptance Tests
+ jdk:
+ - oraclejdk8
+ - oraclejdk11
script:
- - mvn install -DskipTests -P disable-acceptance-test,jnacl,reduce-logging || travis_terminate 1
- mvn verify -pl tests/acceptance-test -P grpc-acceptance-tests,reduce-logging || travis_terminate 1
- stage: Simple Only Acceptance Tests
+ jdk:
+ - oraclejdk8
+ - oraclejdk11
script:
- - mvn install -DskipTests -P disable-acceptance-test,jnacl,reduce-logging || travis_terminate 1
- mvn verify -pl tests/acceptance-test -P simple-acceptance-tests,reduce-logging || travis_terminate 1
+ - stage: deploy:
+ provider: script
+ script: bash deploy.sh
+ skip_cleanup: true
+ on:
+ all_branches: true
@@ -74,9 +91,4 @@ after_success:
#before_cache:
#- mvn dependency:purge-local-repository -Dinclude=com.jpmorgan.quorum -DresolutionFuzziness=groupId -Dverbose=true -DreResolve=false
-deploy:
- provider: script
- script: bash deploy.sh
- skip_cleanup: true
- on:
- all_branches: true
+
