Skip to content

Commit

Permalink
Added Travis support
Browse files Browse the repository at this point in the history
The docker-compose file is now validated with very push.

ECOM-6561
  • Loading branch information
clintonb committed Dec 9, 2016
1 parent 4b3bd73 commit bb197a0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
sudo: required

language: python

python:
- "3.5"

services:
- docker

before_install:
- make requirements

script:
- make validate
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: devstack.reset devstack.start devstack.stop help
.PHONY: devstack.reset devstack.start devstack.stop help requirements validate

help: ## Display this help message
@echo "Please use \`make <target>' where <target> is one of"
Expand All @@ -20,3 +20,6 @@ devstack.stop: ## Stop all services

requirements: ## Install requirements
pip install -r requirements.txt

validate: ## Validate the devstack configuration
docker-compose config

0 comments on commit bb197a0

Please sign in to comment.