PAN-6 Added the loadDb task to the build pipeline for Travis
This commit is contained in:
@@ -12,24 +12,24 @@ addons:
|
|||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- chmod +x pandamonium-theorem-prover/gradlew
|
- chmod +x pandamonium-theorem-prover/gradlew
|
||||||
|
- cd pandamonium-theorem-prover
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- mysql -u root -e 'CREATE DATABASE pandamonium;'
|
|
||||||
- mysql -u root pandamonium < pandamonium-theorem-prover/persistence/sql/local_development.sql
|
- mysql -u root pandamonium < pandamonium-theorem-prover/persistence/sql/local_development.sql
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- name: load database
|
- name: Load Database
|
||||||
- name: build
|
- name: Build
|
||||||
- name: unit Test
|
- name: Unit Tests
|
||||||
- name: integration Test
|
- name: Integration Tests
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: load database
|
- stage: Load Database
|
||||||
script: ./pandamonium-theorem-prover/gradlew loaddb
|
script: ./pandamonium-theorem-prover/gradlew loaddb
|
||||||
- stage: build
|
- stage: Build
|
||||||
script: ./pandamonium-theorem-prover/gradlew build
|
script: ./gradlew build
|
||||||
- stage: unit Test
|
- stage: Unit Tests
|
||||||
script: ./pandamonium-theorem-prover/gradlew test
|
script: ./gradlew test
|
||||||
- stage: integration Test
|
- stage: Integration Tests
|
||||||
script: ./pandamonium-theorem-prover/gradlew integrationTest
|
script: ./gradlew integrationTest
|
||||||
Reference in New Issue
Block a user