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: 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