mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-22 09:08:01 +01:00
Added travis job for checkstyle
This commit is contained in:
parent
dd904b84fc
commit
63ea5b854e
@ -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
4
scripts/runCheckstyle.sh
Normal file
@ -0,0 +1,4 @@
|
||||
cd $HOME/Plan
|
||||
gradle checkstyleMain
|
||||
gradle checkstyleTest
|
||||
cd $HOME
|
Loading…
Reference in New Issue
Block a user