-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
36 lines (36 loc) · 1.68 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
25
26
27
28
29
30
31
32
33
34
35
36
language: python
python:
- '2.7'
env:
- DJANGO_SETTINGS_MODULE='neatpix.settings.testing'
install:
- pip install --upgrade pip
- pip install -r requirements.txt
- npm install bower
script:
- bower install
- python neatpix/manage.py collectstatic --noinput --settings=neatpix.settings.testing
- coverage run --source=webapp neatpix/manage.py test neatpix --settings=neatpix.settings.testing
-s
after_success:
- coveralls
deploy:
provider: heroku
buildpack:
- node
- python
api_key:
secure: JRgLF1LupJ2XHKf6gmOVNNhr9zMfOYi8uOKjDmMTV43VP79+xmwD1euBbWYFuGeAP+zB1K733hyaJ883655FdSRkj4j4pt1GerAh2Tago9C89Z1IcGwmEOaw5lR+OfMJwSCutEfhdOqfP//MaAVjOt8Qrgoef8xZ+jMHub5Owz11kLFkFQ9rEh/+kF26zH23JadLjxNTRPPud0hNyqz1GUqGSPTR25ge7ssBPxZ0OWLjjelDseJh+CJ54qdd1eYnf3oftxMAgyA6pfLz9t0Of645e/iPwniQFSONkUgngpkrkHBVDV3f327exfq59bO4QQHdZML6CBLe0Vwa1tNlDT5XP5+FIWI3dpsfSAK96hhADgvVEQL1ZCQnN2FIv4QDG2yCbfP1aFvbBHZsk1RGdBZbE3/NdogogEMbtuxzTBMrWE3xMNda3f4k4QMk9BZhG1UomxmoH2oSc5pUprb6fPgfq6bzWcsxyWDqOdxttHO3F+QRCIM6aopX0cxBzM8g/FH+Fbp8LnkJgnBCAc1Bk1jXgZq6ORTlSpL7J5im4mz1AVWXxD2F0rtxCbaSKnKe1EArVRFgigddb4MPMiOsRDGKK30WoCf9XM7Szgk8FepScJQywfctORGOL48NKS0BfOZPSZU5pIlpesjsxrWptDHhWVv+Rs32kLa1pr2TWsY=
app:
develop: neatpix
master: neatpix
on:
all_branches: true
run:
- export DJANGO_SETTINGS_MODULE=neatpix.settings.staging
- python neatpix/manage.py collectstatic --noinput --settings=neatpix.settings.staging
- python neatpix/manage.py makemigrations --settings=neatpix.settings.staging
- python neatpix/manage.py migrate auth --settings=neatpix.settings.staging
- python neatpix/manage.py migrate --settings=neatpix.settings.staging
after_deploy:
- "heroku ps:scale web=1 --app neatpix"