mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-22 17:18:40 +01:00
Added travis job for checkstyle
This commit is contained in:
parent
dd904b84fc
commit
63ea5b854e
@ -15,11 +15,14 @@ services:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
|
- stage: "Tests"
|
||||||
|
name: "Checkstyle"
|
||||||
|
script: bash scripts/runCheckstyle.sh
|
||||||
- stage: "Tests"
|
- stage: "Tests"
|
||||||
name: "Unit tests"
|
name: "Unit tests"
|
||||||
before_script: bash scripts/prepareTestEnv.sh
|
before_script: bash scripts/prepareTestEnv.sh
|
||||||
script: bash scripts/runTests.sh
|
script: bash scripts/runTests.sh
|
||||||
after_success: bash scripts/sonar.sh
|
after_success: bash scripts/sonar.sh
|
||||||
- stage: "System Tests"
|
- stage: "System Tests"
|
||||||
name: "Test environment setup"
|
name: "Test environment setup"
|
||||||
script: bash scripts/prepareServerJars.sh
|
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