PAN-52 Updated the build.gradle files and the .travis.yml

This commit is contained in:
2019-03-17 16:01:12 -06:00
parent 6197beb309
commit 7548ca64d0
2 changed files with 20 additions and 6 deletions
+12 -6
View File
@@ -30,13 +30,19 @@ stages:
jobs:
include:
- stage: Load Database
- stage: "Load Database"
script: ./gradlew loaddb
- stage: Build
- stage: "Build"
script: ./gradlew build
- stage: Unit Tests
- stage: "Unit Tests"
script: ./gradlew test
- stage: Integration Tests
script: ./gradlew integrationTest
- stage: Sonar Analysis
- stage: "Integration Tests"
script:
- |
./gradlew :persistence:startPersistenceApi &
APP_PID=$!
- |
./gradlew integrationTest
- kill $APP_PID
- stage: "Sonar Analysis"
script: ./gradlew sonar