forked from Kegbot/kegbot-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 965 Bytes
/
.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
37
language: python
python:
- "2.7"
install:
- pip install -r test_requirements.txt --use-mirrors
- pip install -e . --use-mirrors
- pip install --use-mirrors coverage coveralls
services:
- redis-server
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/
- pip freeze
- flake8 --version
script:
- kegbot test --traverse-namespace --first-package-wins --with-coverage --cover-package=pykeg
after_success:
- coveralls
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