Skip to content
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,4 @@ www/
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml

app.env
node_modules
25 changes: 20 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,25 @@ services:
language: python
python:
- 3.6
install:
- pip install -r requirements.txt
- npm install
script:
- echo "CI test"

before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin

jobs:
include:
- stage: "build"
script:
- sh ./.makefile/start.sh
- stage: "test"
script:
- make start
- python manage.py test users
- stage: "deploy"
if: branch = master
script:
- echo deployment
after_success:
- echo "Success"
5 changes: 5 additions & 0 deletions app.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SECRET_KEY=secret
DOCKER_ENVIRONMENT=True

REDIS_HOST=redis
REDIS_PORT=6379
1 change: 1 addition & 0 deletions req.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
asdasd