Skip to content

Commit

Permalink
Feature/travis ci (RyanNoelk#148)
Browse files Browse the repository at this point in the history
* adding travis file

* commit to get travis to build

* updating endpoint

* start db

* run

* sleep

* updating readme with build flags

* updating readme with build flags

* need to use -d to run in the background

* adding another comment

* adding wait-for-it

* permission change and removing http

* adding back sleep 90
  • Loading branch information
RyanNoelk authored Mar 3, 2017
1 parent 9343639 commit 8a54eb0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
sudo: required

language: python

python:
- "2.7"

services:
- docker

before_install:
- docker-compose -f docker-compose-test.yml -p test build
- docker-compose -f docker-compose-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 docker-compose-test.yml -p test run --rm --entrypoint 'bash tests.sh' api
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# OpenEats Project

[![Build Status](https://travis-ci.org/RyanNoelk/OpenEats.svg?branch=master)](https://travis-ci.org/RyanNoelk/OpenEats)

OpenEats is a recipe management site that allows users to create, share, and store recipes. This fork uses Django Rest Framework as a backend and React (with flux) as a front end.

The main goals of this project are twofold. One, I wanted a place to store my personal collection of recipes and share them with close friends and family. Two, I wanted to learn React :). I went digging around for a starting point and gathering ideas when I came across open eats. It had some cool ideas and was well documented for the most part.
Expand Down

0 comments on commit 8a54eb0

Please sign in to comment.