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

Commit

Permalink
configure travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fphammerle committed Jun 27, 2019
1 parent 9c0da7e commit 62d65cf
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 2 deletions.
47 changes: 47 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
language: python

python:
- 3.5
- 3.6
- 3.6-dev
- 3.7
- 3.7-dev

# required for python >= 3.7
dist: xenial

env:
# https://pypi.org/project/pandas/#history
- PANDAS_VERSION=
- PANDAS_VERSION=0.24.*
- PANDAS_VERSION=0.23.*
- PANDAS_VERSION=0.22.*
- PANDAS_VERSION=0.21.*

# https://travis-ci.org/fphammerle/freesurfer-volume-reader/builds/525556257
matrix:
exclude:
- python: 3.7
env: PANDAS_VERSION=0.21.*
- python: 3.7
env: PANDAS_VERSION=0.22.*
- python: 3.7-dev
env: PANDAS_VERSION=0.21.*
- python: 3.7-dev
env: PANDAS_VERSION=0.22.*

install:
- pip install pipenv
- pipenv sync --dev
- if [ ! -z "$PANDAS_VERSION" ]; then
pipenv install --selective-upgrade "pandas==$PANDAS_VERSION";
fi
- pipenv graph

script:
- pipenv run pylint freesurfer_stats tests/*
- pipenv run pytest --cov=freesurfer_stats --cov-report=term-missing --cov-fail-under=100

after_success:
- pip install coveralls
- coveralls
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
],
packages=setuptools.find_packages(),
install_requires=[
# TODO add lower version constraint
'pandas<1',
# TODO verify lower version constraint
'pandas>=0.21,<1',
],
setup_requires=[
'setuptools_scm',
Expand Down

0 comments on commit 62d65cf

Please sign in to comment.