-
Notifications
You must be signed in to change notification settings - Fork 57
/
.travis.yml
48 lines (43 loc) · 1.09 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
language: python
python:
- '3.6'
dist: trusty
sudo: required
services:
- mysql
addons:
apt:
packages:
- python-dev
- build-essential
- graphviz
- python-pip
- python-numpy
- git
- libmysqlclient-dev
- docbook
- python-apt
- dblatex
- texlive-latex-extra
- docbook-utils
- libxml2-dev
- libxslt1-dev
- google-chrome-stable
env:
- PYTHONPATH=. CAIRIS_SRC=$PYTHONPATH/cairis CAIRIS_CFG=cairis_travis.cnf XML_CATALOG_FILES=$CAIRIS_SRC/config/catalog
$CAIRIS_CFG_DIR=./travisConfig
install:
- pip install -r test_requirements.txt
- pip install -r requirements.txt
before_script:
- latestChromeDriver=$(curl https://chromedriver.storage.googleapis.com/LATEST_RELEASE)
- wget https://chromedriver.storage.googleapis.com/$latestChromeDriver/chromedriver_linux64.zip
- sudo unzip chromedriver_linux64 -d /usr/bin
- sudo chmod a+x /usr/bin/chromedriver
script:
- behave
- py.test cairis/test --doctest-modules -v --cov cairis/core cairis/daemon cairis/controllers
cairis/data cairis/tools --cov-report term-missing
after_success:
- coveralls
- codecov