Updated the .travis.yml

This commit is contained in:
Alex Tusa
2019-02-10 12:40:27 -07:00
committed by GitHub
parent 04c2eede15
commit 6f67d4abca
+21 -6
View File
@@ -1,20 +1,35 @@
language: java language: java
services:
- mysql
install: true install: true
sudo: false
addons:
apt:
packages:
- oracle-java8-installer
before_install: before_install:
- chmod +x pandamonium-theorem-prover/gradlew - chmod +x pandamonium-theorem-prover/gradlew
- cd pandamonium-theorem-prover - cd pandamonium-theorem-prover
before_script:
- mysql -u root pandamonium < pandamonium-theorem-prover/persistence/sql/local_development.sql
stages: stages:
- name: build - name: Load Database
- name: unit tests - name: Build
- name: integration tests - name: Unit Tests
- name: Integration Tests
jobs: jobs:
include: include:
- stage: build - stage: Load Database
script: ./pandamonium-theorem-prover/gradlew loaddb
- stage: Build
script: ./gradlew build script: ./gradlew build
- stage: unit tests - stage: Unit Tests
script: ./gradlew test script: ./gradlew test
- stage: integration tests - stage: Integration Tests
script: ./gradlew integrationTest script: ./gradlew integrationTest