-
Notifications
You must be signed in to change notification settings - Fork 57
/
.travis.yml
49 lines (44 loc) · 1.04 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
39
40
41
42
43
44
45
46
47
48
49
language: python
python:
- '3.8'
dist: bionic
services:
- mysql
addons:
apt:
packages:
- python3-dev
- build-essential
- mysql-server
- mysql-client
- graphviz
- python3-pip
- python3-numpy
- python3-mysqldb
- python3-pytest
- git
- libmysqlclient-dev
- default-libmysqlclient-dev
- docbook
- python3-apt
- dblatex
- texlive-latex-extra
- docbook-utils
- libxml2-dev
- libxslt1-dev
- python3-setuptools
- pandoc
env:
- PYTHONPATH=. CAIRIS_SRC=$PYTHONPATH/cairis CAIRIS_CFG=cairis_travis.cnf XML_CATALOG_FILES=$CAIRIS_SRC/config/catalog
$CAIRIS_CFG_DIR=./travisConfig
before_install:
- sudo cp $CAIRIS_CFG_DIR/mysqld.cnf /etc/mysql/mysql.conf.d/
- sudo service mysql restart
install:
- pip install -r test_requirements.txt
- pip install -r travis_requirements.txt
script:
- python3 -mpytest cairis/test --doctest-modules -v --cov cairis/core cairis/daemon cairis/controllers cairis/data cairis/tools --cov-report term-missing
after_success:
- coveralls
- codecov