2018-04-05 17:47:25 +02:00
|
|
|
language: java
|
2018-12-25 10:01:46 +01:00
|
|
|
sudo: true
|
2018-11-12 14:46:41 +01:00
|
|
|
install: false
|
|
|
|
|
2018-04-05 17:47:25 +02:00
|
|
|
addons:
|
2018-12-25 10:01:46 +01:00
|
|
|
chrome: stable
|
2018-04-05 17:47:25 +02:00
|
|
|
sonarcloud:
|
|
|
|
organization: "player-analytics-plan"
|
|
|
|
token:
|
|
|
|
secure: "bTqGEUlfpVGgXgwC9UiIwYN+LsUtXFHTbWkAjnNJcCKTLDvHzUfDzY8/M7YIpIlcS7EWggNgJhskkg/WBglESx/0KcVl4NukMgbylqvp7y1F7eOkYLuriWBpuwMaSCHTWjmyq1iWNJ26i569PETbKiS+sNYnx9lPIpXI4ph0M9EKK3nQpTLr1aeVHi+XilJu6UNY7whipoW1fEwn02s2SvIXUMJN1fS0tmUjMavlOnlxt0lCU/oayMVG7vFKE2wWDJ5Ucd6lLGLPA1at4ypy6nJVcl8Bn547qoXBoIyMbtAhpcLUzkkFLK8BxuSsQ5neK71GLlmbiU+bIU5dpfRgsS3XLOXSSgide0ly/Za4zQVUBfu36F5xJOFGGdALGfMBhWdCzW1j0oDcINauUhjK/VB9v8M8qpxBCV6Q570FH2CQdNotfUWvHHGVZf1+yqXnC5iUcIh4cuxNCrOgp3uql8cpLGtMfqScV4l7GkcYGXLZlLUhGPK5K8UhwPym31CJU8If6ExMiKttxvpCtcGsXx2bRl7gRl3+xdjlY0PzIfbBbgYY6uu5v6cK8RHxp/+sLsBDfPtVvRZnnOVACLUFzTRSr6nP0Cm8rr+91S3rTmf4Qug+IN32xMDVcs6Sm68v/KTn2QoA2XyXOMLbIR39/0ani00xCd3FPF9Ae115YHg="
|
|
|
|
jdk:
|
|
|
|
- oraclejdk8
|
2018-12-26 19:38:56 +01:00
|
|
|
services:
|
|
|
|
- mysql
|
2018-12-25 10:01:46 +01:00
|
|
|
|
2018-11-12 14:46:41 +01:00
|
|
|
jobs:
|
|
|
|
include:
|
2019-01-03 12:18:57 +01:00
|
|
|
- stage: "Tests"
|
|
|
|
name: "Checkstyle"
|
|
|
|
script: bash scripts/runCheckstyle.sh
|
2018-11-12 14:46:41 +01:00
|
|
|
- stage: "Tests"
|
2018-11-12 14:52:51 +01:00
|
|
|
name: "Unit tests"
|
2018-12-25 10:01:46 +01:00
|
|
|
before_script: bash scripts/prepareTestEnv.sh
|
2018-11-12 14:52:51 +01:00
|
|
|
script: bash scripts/runTests.sh
|
2019-01-03 12:18:57 +01:00
|
|
|
after_success: bash scripts/sonar.sh
|
2018-11-12 14:46:41 +01:00
|
|
|
- stage: "System Tests"
|
|
|
|
name: "Test environment setup"
|
2018-11-12 14:52:51 +01:00
|
|
|
script: bash scripts/prepareServerJars.sh
|
2018-04-05 17:47:25 +02:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- '$HOME/.m2/repository'
|
2018-06-02 11:36:21 +02:00
|
|
|
- '$HOME/.sonar/cache'
|
2018-12-19 18:36:26 +01:00
|
|
|
- '$HOME/.gradle'
|
|
|
|
- '.gradle'
|
2018-11-12 14:46:41 +01:00
|
|
|
- '$HOME/servers/'
|