Permalink
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (55 sloc) 2.36 KB
dist: trusty
sudo: false
language: java
jdk:
- openjdk8
notifications:
email:
recipients:
- info@softinstigate.com
on_success: always
slack:
secure: "IeoyrbTPjPtopkmTFbcCzgy+9q8MMzhla9lXhZYdqsbn19KKe4UKNp0Cu0SY601ss586Lw4jsegvba6LFF3bi3j4aK0ZITtGJ4PYGvYByh3O7zi4Y0K2RUeYU1CfTIl18QBHcAIjQSmKLJPnyN9Y5Y4/4KhfWTqXy7tvkB36Oys="
cache:
directories:
- '$HOME/.m2'
services:
- docker
before_install:
- docker run -d -p 27017:27017 mongo:$MONGO
- ./bin/before-deploy.sh
install: true
before_script:
- git submodule update --init --recursive
script:
- docker ps
- mvn clean verify -DskipITs=false
after_success:
- if [[ "$MAVEN_DEPLOY" == true ]]; then ./bin/maven-deploy.sh; fi
deploy:
provider: releases
api_key:
secure: EEGZ5uRn23QqhPqiENRZxBkuDw+qyl23ELUr0HHltI/DK+UIsFQrQydZbtl6VIPTzE8O3EOy/PhzTk2zXlh5cfi+THkIAzpNzW93CAUNFMknUV/cDsrgRSKwEXlF1LJ1WqerM8g4pKvyfyJTOIkFwir/1bIZ/ww+8zIqw6+SBlo=
file_glob: true
file:
- "target/*.tar.gz"
- "target/*.zip"
- "target/restheart.jar"
skip_cleanup: true
on:
tags: true
condition: $MAVEN_DEPLOY = true
env:
matrix:
- MONGO=4.0
- MONGO=3.6 MAVEN_DEPLOY=true
global:
- secure: "rlLQCDykTqV7/EC+kTCw5JpYbuZwk0Neq5q1kRQ6hjcUYRdgjPJretVg+1e5+GcGOH4/Z/aOGdQrk1HtPW6tE+ePIUDAUwuLX2+6AUt2FqIqumYoJxYR7rsw+THkjiPaopB7qmWOUJ1vec7QCEiaGexYcjs3j6mv//SbnUksY2w="
- secure: "t4tS+6EAC9nuE9SOKMfooux34usyPY2oBt0/737A2o9y3LXgy/jt0hyx09W4Gc1ZHq8QYoEiwHU40rlo2KWcxPKK/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