forked from pytrainer/pytrainer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 1.26 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
37
38
dist: xenial
language: generic
addons:
apt:
packages:
- python-gi
- gir1.2-gtk-3.0
- python-lxml
- python-matplotlib
- python-tornado
- python-cairo
- python-mock
- python3-setuptools
- python3-gi
- python3-lxml
- python3-cairo
- python3-gi-cairo
- python3-matplotlib
services:
- mysql
- postgresql
env:
- PYTHON_VERSION=2.7 PYTRAINER_ALCHEMYURL="sqlite://"
- PYTHON_VERSION=3.5 PYTRAINER_ALCHEMYURL="sqlite://"
- PYTHON_VERSION=2.7 PYTRAINER_ALCHEMYURL="mysql://pytrainer@localhost/pytrainer"
- PYTHON_VERSION=3.5 PYTRAINER_ALCHEMYURL="mysql://pytrainer@localhost/pytrainer"
- PYTHON_VERSION=2.7 PYTRAINER_ALCHEMYURL="postgresql://pytrainer@localhost/pytrainer"
- PYTHON_VERSION=3.5 PYTRAINER_ALCHEMYURL="postgresql://pytrainer@localhost/pytrainer"
before_install:
- mysql -e "CREATE USER 'pytrainer'@'localhost';"
- mysql -e "CREATE DATABASE pytrainer;"
- mysql -e "GRANT ALL PRIVILEGES ON pytrainer . * TO 'pytrainer'@'localhost';"
- createuser -U postgres pytrainer
- createdb -U postgres -O pytrainer pytrainer
script: "TZ=Europe/Kaliningrad xvfb-run python$PYTHON_VERSION -Wall setup.py test"
notifications:
irc:
channels: "ircs://chat.freenode.net:7000/#pytrainer"