Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #153 from glogiotatidis/travisdeploy
Browse files Browse the repository at this point in the history
Deploy using Travis.
  • Loading branch information
pmac committed Nov 24, 2015
2 parents 69eeb5e + 9286607 commit 60c8772
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,34 @@
sudo: false
language: python
python:
- "2.7"
- '2.7'
before_script:
- flake8 news
- mysql -e 'create database basket;'
- python manage.py migrate --noinput
script: py.test --cov news
env:
- SECRET_KEY=FOO DEBUG=False ALLOWED_HOSTS=* DATABASE_URL=mysql://root@localhost/basket SUPERTOKEN='foo'
- SECRET_KEY=FOO DEBUG=False ALLOWED_HOSTS=* DATABASE_URL=mysql://root@localhost/basket SUPERTOKEN='foo'
install:
- bin/peep.py install -r requirements/compiled.txt -r requirements/dev.txt
- pip install coveralls
after_success:
# Report coverage results to coveralls.io
- coveralls
notifications:
irc:
channels:
- "irc.mozilla.org#basket"
- irc.mozilla.org#basket
on_success: change
on_failure: always
use_notice: true
deploy:
provider: deis
controller: https://deis.us-west.moz.works
app: basket-dev
cli_version: 1.11.1
username: travis
password:
secure: lmLWDrN9TPp/BvN8s0ybtec+xQ8HnNgVVuDJjC/hNMIdUE/OAUi5V5il58GcG49udbyx/3QZN6QG4J1HJYwERGJa+VQnRcehEAU7LCbw02BMbfpCOJJvfHuUxCrd6bt7HkB01D459fKuzSeFigsa3sx+VQ7NkDwd3eKpqGIqzfY=
on:
repo: mozilla/basket
branch: master

0 comments on commit 60c8772

Please sign in to comment.