forked from aboSamoor/pycld2
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
57 lines (45 loc) · 1.15 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
language: python
matrix:
include:
- os: linux
python: "3.6"
- os: linux
python: "3.5"
- os: linux
python: "2.7"
- os: linux
python: "pypy3"
sudo: required
- os: linux
python: "pypy"
sudo: required
- os: osx
language: generic
env:
- TRAVIS_PYTHON_VERSION=3.6
- PYTHONVERSION=3.6.5
- os: osx
language: generic
env:
- TRAVIS_PYTHON_VERSION=3.5
- PYTHONVERSION=3.5.5
- os: osx
language: generic
env:
- TRAVIS_PYTHON_VERSION=2.7
- PYTHONVERSION=2.7.17
install:
- ./ci/travis-install.sh
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then eval "$(pyenv init -)"; fi
- pip install tox-travis cffi codecov
- pip install cffi
- pip install codecov
before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ulimit -c unlimited -S; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then eval "$(pyenv init -)"; fi
- python setup.py install
- tox
after_success:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then eval "$(pyenv init -)"; fi
- codecov -X gcov --required --file coverage.xml