forked from maxmind/MaxMind-DB-Reader-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
50 lines (43 loc) · 1.28 KB
/
Copy path.travis.yml
File metadata and controls
50 lines (43 loc) · 1.28 KB
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
language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- pypy
before_install:
- git submodule update --init --recursive
- git clone --recursive git://github.com/maxmind/libmaxminddb
- cd libmaxminddb
- ./bootstrap
- ./configure
- make
- sudo make install
- sudo ldconfig
- cd ..
- pip install pylint coveralls
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
script:
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then export MM_FORCE_EXT_TESTS=1; fi
- CFLAGS="-Werror -Wall -Wextra" python setup.py test
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pylint --rcfile .pylintrc maxminddb/*.py; fi
after_success:
- coveralls
notifications:
email:
recipients:
- dev-ci@maxmind.com
on_success: change
on_failure: always
env:
global:
- secure: "pVcpV/al5Q607TbRzl/sbkdsx5hUjxehaJm6t5tgWrFn45icwdZrPw3JWcpt0R57NhPvXHxcJdm4WBtcGElWoDtR52QOW3yYh+gRw23y1MJg+5qHIbh5R1sOC/fLJ9TzQzvvRH5QQ5bKIe1hRQW9Cpqm7nX5Zhq6SqnAzcG1emE="
addons:
coverity_scan:
project:
name: "maxmind/MaxMind-DB-Reader-python"
description: "Build submitted via Travis CI"
notification_email: dev-ci@maxmind.com
build_command_prepend: "python setup.py clean"
build_command: "python setup.py build"
branch_pattern: .*coverity.*