open-eats/openeats-api

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
sudo: required

language: python

python:
  - "3.6"

services:
  - docker

before_install:
- docker-compose -f test.yml -p test build
- docker-compose -f test.yml -p test up -d db
# We are adding a sleep here so that the db has enough time to come online
- sleep 90

script:
- docker-compose -f test.yml -p test run --rm
  --entrypoint 'sh tests.sh'
  -e TRAVIS_JOB_ID=$TRAVIS_JOB_ID
  -e TRAVIS_BRANCH=$TRAVIS_BRANCH
  -e TRAVIS=$TRAVIS
  api