Browse Source

pipeline: test against python3.8

Fabian Peter Hammerle 3 years ago
parent
commit
b3b425b0c1
3 changed files with 34 additions and 4 deletions
  1. 24 4
      .travis.yml
  2. 9 0
      CHANGELOG.md
  3. 1 0
      setup.py

+ 24 - 4
.travis.yml

@@ -4,7 +4,8 @@ python:
 - 3.5
 - 3.6
 - 3.7
-- 3.7-dev
+- 3.8
+- 3.8-dev
 
 # required for python >= 3.7
 dist: xenial
@@ -24,14 +25,33 @@ matrix:
     env: PANDAS_VERSION=0.21.*
   - python: 3.7
     env: PANDAS_VERSION=0.22.*
-  - python: 3.7-dev
+  # >/tmp/pip-install-g4jx0np4/numpy/_configtest.c:6: undefined reference to `exp'
+  # https://travis-ci.org/github/fphammerle/freesurfer-stats/jobs/683704331#L437
+  - python: 3.8
     env: PANDAS_VERSION=0.21.*
-  - python: 3.7-dev
+  # https://travis-ci.org/github/fphammerle/freesurfer-stats/jobs/683704330#L437
+  - python: 3.8
     env: PANDAS_VERSION=0.22.*
+  - python: 3.8-dev
+    env: PANDAS_VERSION=0.21.*
+  - python: 3.8-dev
+    env: PANDAS_VERSION=0.22.*
+  # no python3.8 wheels for pandas v0.24.2 & v0.23.4 available
+  # https://travis-ci.org/github/fphammerle/freesurfer-stats/builds/701952350
+  # build takes longer than 10min
+  # https://travis-ci.org/github/fphammerle/freesurfer-stats/jobs/702077404#L199
+  - python: 3.8
+    env: PANDAS_VERSION=0.23.*
+  - python: 3.8
+    env: PANDAS_VERSION=0.24.*
+  - python: 3.8-dev
+    env: PANDAS_VERSION=0.23.*
+  - python: 3.8-dev
+    env: PANDAS_VERSION=0.24.*
 
 install:
 - pip install pipenv==2020.6.2
-- pipenv sync --dev
+- pipenv install --python "$TRAVIS_PYTHON_VERSION" --deploy --dev
 - if [ ! -z "$PANDAS_VERSION" ]; then
     pipenv install --selective-upgrade "pandas==$PANDAS_VERSION";
   fi

+ 9 - 0
CHANGELOG.md

@@ -0,0 +1,9 @@
+# Changelog
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [Unreleased]
+### Added
+- package metadata: added `python3.8` classifier

+ 1 - 0
setup.py

@@ -35,6 +35,7 @@ setuptools.setup(
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
         'Topic :: Scientific/Engineering :: Information Analysis',
         'Topic :: Scientific/Engineering :: Medical Science Apps.',
         'Topic :: Utilities',