PAN-6 Added the loadDb task to the build pipeline for Travis

This commit is contained in:
2019-02-10 12:38:09 -07:00
parent 1e77a38483
commit 04c2eede15
+12 -12
View File
@@ -12,24 +12,24 @@ addons:
before_install:
- chmod +x pandamonium-theorem-prover/gradlew
- cd pandamonium-theorem-prover
before_script:
- mysql -u root -e 'CREATE DATABASE pandamonium;'
- mysql -u root pandamonium < pandamonium-theorem-prover/persistence/sql/local_development.sql
stages:
- name: load database
- name: build
- name: unit Test
- name: integration Test
- name: Load Database
- name: Build
- name: Unit Tests
- name: Integration Tests
jobs:
include:
- stage: load database
- stage: Load Database
script: ./pandamonium-theorem-prover/gradlew loaddb
- stage: build
script: ./pandamonium-theorem-prover/gradlew build
- stage: unit Test
script: ./pandamonium-theorem-prover/gradlew test
- stage: integration Test
script: ./pandamonium-theorem-prover/gradlew integrationTest
- stage: Build
script: ./gradlew build
- stage: Unit Tests
script: ./gradlew test
- stage: Integration Tests
script: ./gradlew integrationTest