-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (24 loc) · 1.91 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
sudo: required
services:
- docker
language: python
python:
- 3.6
addons:
apt:
firefox: latest
install:
- pip install -U docker-compose
- docker-compose build backend
- "(cd client && npm install)"
script:
- docker-compose run --rm backend flake8 .
- docker-compose run --rm backend ./manage.py test restful_api
- "(cd client && MOZ_HEADLESS=1 npm test)"
- docker-compose -f docker-compose.push.yml build --pull
- echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_ACCOUNT" --password-stdin
- docker-compose -f docker-compose.push.yml push
env:
global:
- secure: rHykCjtM38Nf5BiZyzQQbBTVLmHr0LvVHM6b6d66A4+Y4snGO3YwSdGV0aUDDVuR8Vf3lmRUwi+Wio6ksBCh0VZ/611nfEvZVJ+wjbe9URFKc3Rb5R9KDvM2104qeyP/2fhB1la9px48lFw4ofZVicNlIgcIqREAVUYRH0wv7SsQVcNOrq2TAoFmGQgJLBPmJn4eB6y4HvWvlLmtD7NZ2wbAf4Lj0tUePd4AwsOBYb77zGRt+YLHHPrfowJAh++7QhwcQELdtqhWXZ70LAswC77YpJUxHBY6iP+fmZqjbxncLiuWJLkuQphhmZIyFQ7rrhVNK9gjLZ7tGw7N0rDpICu6FoIrsv7cYUs1abixaRyi5klwV9Tj8VEtvwqqHENx4ofReV6KOINEpezycK6ZFZDj1N5PyLn19QkGsmDekezceRtLP4sMrvN8iI0m05N4AIkKZm3S+dAmYvvizhTEyHum1yxMAUt/thuTcjomnhtdYFNhs3q31A0K2+c7jcr7bovs0C+MXel1SBXHOaUODRAl7kjeKQ4SxMQQHAA5boG+MMlsoZsOqbQcr5WLf7cnzAvvCeUvKBxnsC2BxOWH0Hgf6+yOL6RlPYhoLtudwj1tuH2selEURweWVwhf+7LwvPDoKTMlF1GQzffMVUfDdqjmC2pFit0atzlHJbf57/0=
- secure: vmPq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