File: .travis.yml

package info (click to toggle)
pytrainer 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 4,876 kB
  • sloc: python: 15,914; perl: 6,084; xml: 195; sql: 151; makefile: 83; sh: 45
file content (34 lines) | stat: -rw-r--r-- 1,031 bytes parent folder | download
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
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
      - python3-mock
services:
  - mysql
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"
before_install:
  - mysql -e "CREATE USER 'pytrainer'@'localhost';"
  - mysql -e "CREATE DATABASE pytrainer;"
  - mysql -e "GRANT ALL PRIVILEGES ON pytrainer . * TO 'pytrainer'@'localhost';"
script: "TZ=Europe/Kaliningrad xvfb-run python$PYTHON_VERSION -Wall setup.py test"
notifications:
  irc:
    channels: "ircs://chat.freenode.net:7000/#pytrainer"