-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,17 @@ | ||
language: python | ||
|
||
python: | ||
- "2.7" | ||
sudo: false | ||
|
||
notifications: | ||
email: false | ||
|
||
cache: pip | ||
|
||
services: | ||
- redis-server | ||
- mysql | ||
|
||
before_script: | ||
- mysql -e 'create database kegbot_travis_test;' | ||
- mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql | ||
- mkdir -p ~/kegbot-data/media | ||
- mkdir -p ~/kegbot-data/static | ||
- mkdir -p ~/.kegbot/ | ||
- cp deploy/travis/local_settings.py ~/.kegbot/ | ||
before_install: | ||
- mysql -e 'CREATE DATABASE kegbot;' | ||
|
||
install: | ||
- pip install -r requirements.txt | ||
- pip install . | ||
- pip install pipenv | ||
- pipenv install --dev --deploy | ||
|
||
script: | ||
- kegbot test --traverse-namespace --first-package-wins | ||
|
||
deploy: | ||
provider: pypi | ||
user: mikey | ||
password: | ||
secure: amERhNGbfgTb/1vlWJ8SpDSTUlmx8GlysllFlqIT6H/X2+XiLFRjmH+T6UXWcHurGzwC71/QC0LGlSg69d4wGarXKnDowInjA9NR+s763gcbWIKixAWxiVrHl/LHTd3n+5ZCaYVDjHCX4RCRdunQ3DESELCkJ4U9RCVHtIGki8k= | ||
on: | ||
tags: true | ||
repo: Kegbot/kegbot-server | ||
branch: master | ||
- pipenv run pytest |