add drone config, update dependencies

This commit is contained in:
steam 2021-02-07 18:43:47 +01:00
parent df03d7d186
commit 897864fdf8
3 changed files with 32 additions and 9 deletions

View File

@ -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.

25
pom.xml
View File

@ -18,25 +18,32 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.25</version>
<version>1.7.30</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.14</version>
<version>1.18.18</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.4</version>
<version>3.11</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<type>maven-plugin</type>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
@ -47,15 +54,15 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
<executions>
<execution>
<id>auto-clean</id>
@ -90,7 +97,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<version>3.2.0</version>
</plugin>
</plugins>
</build>

15
scm/.drone.yml Normal file
View File

@ -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"