Added travis job for checkstyle

This commit is contained in:
Rsl1122 2019-01-03 13:18:57 +02:00
parent dd904b84fc
commit 63ea5b854e
2 changed files with 8 additions and 1 deletions

View File

@ -15,11 +15,14 @@ services:
jobs:
include:
- stage: "Tests"
name: "Checkstyle"
script: bash scripts/runCheckstyle.sh
- stage: "Tests"
name: "Unit tests"
before_script: bash scripts/prepareTestEnv.sh
script: bash scripts/runTests.sh
after_success: bash scripts/sonar.sh
after_success: bash scripts/sonar.sh
- stage: "System Tests"
name: "Test environment setup"
script: bash scripts/prepareServerJars.sh

4
scripts/runCheckstyle.sh Normal file
View File

@ -0,0 +1,4 @@
cd $HOME/Plan
gradle checkstyleMain
gradle checkstyleTest
cd $HOME