Merge pull request #25 from GoatCTF/feature-travis-yml

Add travis.yml file to begin using Travis-CI.
This commit is contained in:
Louis Fogel 2014-10-31 23:16:13 -04:00
commit 03daf3b54e
2 changed files with 15 additions and 0 deletions

13
.travis.yml Normal file
View File

@ -0,0 +1,13 @@
language: python
python:
- "3.4"
install:
- "pip install -r requirements.txt"
- "pip install -e ."
before_script:
- sed -e "s/SECRET_KEY = ''/SECRET_KEY = 'test'/" goatctf/goatctf/settings.py.example > goatctf/goatctf/settings.py
- goatctf/manage.py makemigrations
- goatctf/manage.py migrate
script:
- cd goatctf/tests
- py.test

View File

@ -1,4 +1,6 @@
GoatCTF
=======
[![Build Status](https://travis-ci.org/GoatCTF/GoatCTF.svg?branch=feature-travis-yml)](https://travis-ci.org/GoatCTF/GoatCTF)
A framework for running CTFs