forked from Arakne/Araknemu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
36 lines (32 loc) · 1.6 KB
/
.scrutinizer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
build:
nodes:
analysis:
dependencies:
override:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dcheckstyle.skip -P '!checkerframework,!checkerframework-jdk8,!checkerframework-jdk9orlater' -B -V
tests:
environment:
sdkman:
- 'java@11-open'
timezone: Europe/Paris
services:
mysql: 5.7
dependencies:
override:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dcheckstyle.skip -P '!checkerframework,!checkerframework-jdk8,!checkerframework-jdk9orlater' -B -V
project_setup:
override:
- mvn clean compile -DskipTests=true -Dmaven.javadoc.skip=true -Dcheckstyle.skip -P '!checkerframework,!checkerframework-jdk8,!checkerframework-jdk9orlater' -B -V
tests:
override:
- command: mysql -u root -e "create database araknemu"
- command: mysql -u root -e "create user araknemu"
- command: mysql -u root -e "grant all privileges on araknemu.* to araknemu"
- command: mvn -P '!checkerframework,!checkerframework-jdk8,!checkerframework-jdk9orlater' test
coverage:
file: 'target/site/jacoco/jacoco.xml'
format: 'jacoco'
- command: 'mvn checkstyle:checkstyle'
analysis:
file: 'target/checkstyle-result.xml'
format: 'general-checkstyle'