Validate configuration.

This commit is contained in:
Abhilash Raj
2017-11-05 20:10:08 -08:00
committed by Abhilash Raj
parent 2c1552cc24
commit 81c57adf90

View File

@@ -12,15 +12,12 @@ defaults: &defaults
- run: - run:
name: Install Docker Compose name: Install Docker Compose
command: sudo pip install docker-compose command: sudo pip install docker-compose
- run: - run:
name: Building Container Images name: Building Container Images
command: ./build.sh command: ./build.sh
- run: - run:
name: Generate Tests name: Generate Tests
command: bash tests/generate_tests.sh command: bash tests/generate_tests.sh
- run: - run:
environment: environment:
DB: postgres DB: postgres
@@ -32,7 +29,6 @@ defaults: &defaults
DB: mysql DB: mysql
name: MySQL Test name: MySQL Test
command: bash tests/test.sh command: bash tests/test.sh
- deploy: - deploy:
environment: environment:
REGISTRY: QUAY REGISTRY: QUAY
@@ -40,6 +36,7 @@ defaults: &defaults
if [ "${CIRCLE_BRANCH}" == "master" ]; then if [ "${CIRCLE_BRANCH}" == "master" ]; then
bash .travis/deploy.sh bash .travis/deploy.sh
fi fi
jobs: jobs:
build: build:
<<: *defaults <<: *defaults
@@ -62,6 +59,5 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
jobs: jobs:
- dev - dev