forked from dsilabs/zoom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (55 loc) · 2.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
50
51
52
53
54
55
56
57
58
59
60
61
62
language: python
sudo: false
dist: trusty
addons:
mariadb: '10.2'
hosts:
- database
python:
- '3.4'
- '3.5'
- '3.6'
matrix:
include:
- python: '3.6'
addons:
mariadb: '5.5'
hosts:
- database
- python: '3.6'
addons:
mariadb: '10.0'
hosts:
- database
- python: '3.6'
addons:
mariadb: '10.1'
hosts:
- database
install:
- pip install coveralls
- pip install nose-exclude
- pip install -r requirements.txt
before_script:
- mysql -uroot -e 'CREATE DATABASE IF NOT EXISTS zoomtest;'
- mysql -uroot -e 'CREATE DATABASE IF NOT EXISTS zoomtest2;'
- mysql -uroot zoomtest < tools/zoom/sql/setup_mysql.sql
- mysql -uroot < tools/zoom/sql/create_testuser.sql
- mysql -uroot -e 'CREATE DATABASE IF NOT EXISTS zoomdata;'
- mysql -uroot zoomdata < tools/zoom/sql/setup_mysql.sql
- mysql -uroot < tools/zoom/sql/create_zoomuser.sql
script:
- nosetests --with-coverage --cover-package=zoom --with-doctest -v zoom tests/unittests --exclude-dir=zoom/testing
after_success:
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' && $TRAVIS_MARIADB_VERSION == '10.2' ]]; then coveralls; fi
notifications:
email:
recipients:
- developers@dynamic-solutions.com
on_success: never
on_failure: always
slack:
rooms:
- secure: JZe34JPv6VjHH899COS15M1xRWEoy0c2qpL7uxFlqS0KO3FeS+1L5Qms6NCXP53IQrKDN82Cn8eGXoL2juiyN5kN4HZKlvkfgW8PmZyCMhLwWsOpGSWz/IIzNosURk3l73d0MZXluMJ5DDQILzKk1boXjgfpWlXrkwdW9dXLe2q7NpiNtqbLDQNrq5bFomeEnnyBapHk+I5De6JfkhghxZcQgQqftsPo2oP4bn1eol2COuVe3pOU4j7CEOdPX4njomIyY8GSVhtI2rLXtDI/l4L3wESBjapW9ILPUx+rUlpR0opBDWdSVEVC7B2pAvZbTb5GRP9EFt2SB2/QPuXcjv/PI+fIHctY6Ln0fIZbPIne4pQx6rQzl4/CAafoFc0WHhWwqSpT82y7sgcpBPEobLqgYAnSlo7Y90MVYqTxlNImden16yWraYzTvkWsOOtOR35SZs1E7rbcE7REScfESULMUBsmcpsVQkmunO1i/UP3cVrlm4fRkYuuh9Xhf3kF336JZGfpmixuhQTU1WE1iD/kMglnajBrfR4v/iUCrm95ZzyNLxCln4r6VVhbLcjAhbgUfZtiMBwhF48ZrJIcVB9t/ehh+TxlqPdddAJjmlZEUL9JWR+lDJyAZWuBslduxTTDYNXrO/eFTYZh7/0hYmZgpDx6U2be2M0dj3F6W8g=
on_success: always
on_failure: always