Skip to content

Commit

Permalink
Update Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
mik3y committed Feb 22, 2020
1 parent cdf82bc commit d4d2541
Showing 1 changed file with 8 additions and 27 deletions.
35 changes: 8 additions & 27 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,18 @@
language: python

python:
- "2.7"
sudo: false

notifications:
email: false

cache: pip

services:
- redis-server
- mysql
- redis

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

0 comments on commit d4d2541

Please sign in to comment.