From 897864fdf81e1dabaa21c040cd1283db91dbc59e Mon Sep 17 00:00:00 2001 From: steam Date: Sun, 7 Feb 2021 18:43:47 +0100 Subject: [PATCH] add drone config, update dependencies --- README.md | 1 + pom.xml | 25 ++++++++++++++++--------- scm/.drone.yml | 15 +++++++++++++++ 3 files changed, 32 insertions(+), 9 deletions(-) create mode 100644 scm/.drone.yml diff --git a/README.md b/README.md index 9d81c14..14607a2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # toy-bot +[![Build Status](https://ci.poweronoff.click/api/badges/steam/toy-bot/status.svg)](https://ci.poweronoff.click/steam/toy-bot) Many thanks to [Lorenzo Sinisi](https://github.com/lorenzosisini) for this beautiful experience. diff --git a/pom.xml b/pom.xml index 272f23e..e21c95c 100644 --- a/pom.xml +++ b/pom.xml @@ -18,25 +18,32 @@ org.slf4j slf4j-simple - 1.7.25 + 1.7.30 org.projectlombok lombok - 1.16.14 + 1.18.18 org.apache.commons commons-lang3 - 3.4 + 3.11 + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + maven-plugin junit junit - 4.12 + 4.13.1 test @@ -47,15 +54,15 @@ org.apache.maven.plugins maven-compiler-plugin - 3.6.1 + 3.8.1 - 1.8 - 1.8 + 11 + 11 maven-clean-plugin - 3.0.0 + 3.1.0 auto-clean @@ -90,7 +97,7 @@ org.apache.maven.plugins maven-jar-plugin - 3.0.2 + 3.2.0 diff --git a/scm/.drone.yml b/scm/.drone.yml new file mode 100644 index 0000000..59eb1ca --- /dev/null +++ b/scm/.drone.yml @@ -0,0 +1,15 @@ +--- +kind: pipeline +name: "toy-bot coding challenge pipeline" +steps: + - + commands: + - "mvn clean test" + image: "maven:3-jdk-11" + name: test + - + image: appleboy/drone-telegram + name: "send telegram notification" + settings: + to: 733452136 + token: "986857118:AAFN9uAhYl_0WMYUE6hWGPoLArjjBBPxDnM" \ No newline at end of file