Skip to content
This repository was archived by the owner on Sep 2, 2023. It is now read-only.

Commit 62d65cf

Browse files
committed
configure travis-ci
1 parent 9c0da7e commit 62d65cf

File tree

2 files changed

+49
-2
lines changed

2 files changed

+49
-2
lines changed

.travis.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
language: python
2+
3+
python:
4+
- 3.5
5+
- 3.6
6+
- 3.6-dev
7+
- 3.7
8+
- 3.7-dev
9+
10+
# required for python >= 3.7
11+
dist: xenial
12+
13+
env:
14+
# https://pypi.org/project/pandas/#history
15+
- PANDAS_VERSION=
16+
- PANDAS_VERSION=0.24.*
17+
- PANDAS_VERSION=0.23.*
18+
- PANDAS_VERSION=0.22.*
19+
- PANDAS_VERSION=0.21.*
20+
21+
# https://travis-ci.org/fphammerle/freesurfer-volume-reader/builds/525556257
22+
matrix:
23+
exclude:
24+
- python: 3.7
25+
env: PANDAS_VERSION=0.21.*
26+
- python: 3.7
27+
env: PANDAS_VERSION=0.22.*
28+
- python: 3.7-dev
29+
env: PANDAS_VERSION=0.21.*
30+
- python: 3.7-dev
31+
env: PANDAS_VERSION=0.22.*
32+
33+
install:
34+
- pip install pipenv
35+
- pipenv sync --dev
36+
- if [ ! -z "$PANDAS_VERSION" ]; then
37+
pipenv install --selective-upgrade "pandas==$PANDAS_VERSION";
38+
fi
39+
- pipenv graph
40+
41+
script:
42+
- pipenv run pylint freesurfer_stats tests/*
43+
- pipenv run pytest --cov=freesurfer_stats --cov-report=term-missing --cov-fail-under=100
44+
45+
after_success:
46+
- pip install coveralls
47+
- coveralls

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
],
4949
packages=setuptools.find_packages(),
5050
install_requires=[
51-
# TODO add lower version constraint
52-
'pandas<1',
51+
# TODO verify lower version constraint
52+
'pandas>=0.21,<1',
5353
],
5454
setup_requires=[
5555
'setuptools_scm',

0 commit comments

Comments
 (0)