-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
59 lines (42 loc) · 1.5 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
# Taken from: https://github.com/brandtbucher/travis-python-matrix
# CPython 3.5.2 / CPython 3.6.8 / CPython 3.7.3
# Ubuntu Xenial 16.04 / Windows Server 1803 / macOS 10.13
# Just comment out any matrix entries you don't need.
language: shell
matrix:
include:
- name: CPython 3.6.8 on Ubuntu Xenial 16.04
python: 3.6.8
dist: xenial
language: python
- name: CPython 3.7.3 on Ubuntu Xenial 16.04
python: 3.7.3
dist: xenial
language: python
- name: CPython 3.6.8 on macOS 10.13
os: osx
before_install: brew upgrade pyenv; pyenv install $PYENV_VERSION
env: PATH=/Users/travis/.pyenv/shims:$PATH PYENV_VERSION=3.6.8
- name: CPython 3.7.3 on macOS 10.13
os: osx
before_install: brew upgrade pyenv; pyenv install $PYENV_VERSION
env: PATH=/Users/travis/.pyenv/shims:$PATH PYENV_VERSION=3.7.3
# Change anything below to suit your CI needs.
# Python and pip exectuables are just named "python" and "pip" on all platforms!
# Example:
# Uncomment the lines below to build and upload all nine wheels to PyPI.
# (You must have TWINE_USERNAME/TWINE_PASSWORD environment variables in Travis!)
# install:
# - pip --version
# - pip install --upgrade setuptools twine wheel
# script:
# - python --version
# - python setup.py sdist bdist_wheel
# - twine upload dist/* --skip-existing
install:
- pip install codecov pytest-cov
- pip install -r requirements.txt
script:
- pytest --cov=table_compositor
after_success:
- codecov