Skip to content

Commit

Permalink
[ci] Update Python and FORM versions in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tueda committed Aug 27, 2019
1 parent 4d6badc commit 7ee81ff
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 18 deletions.
45 changes: 29 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,52 @@ language: python

matrix:
include:
# linters
- python: 2.7
env: TEST=lint
- python: 3.6
- python: 3.7
env: TEST=lint
- python: 2.6
env: TEST=test FORM_VERSION=4.2
# support for major Python versions
- python: 2.7
env: TEST=test FORM_VERSION=4.0
- python: 2.7
env: TEST=test FORM_VERSION=4.1
- python: 2.7
env: TEST=test FORM_VERSION=4.2
- python: 3.2
- python: 2.7
env: TEST=test FORM_VERSION=4.2.1
- python: 3.7
env: TEST=test FORM_VERSION=4.0
- python: 3.7
env: TEST=test FORM_VERSION=4.1
- python: 3.7
env: TEST=test FORM_VERSION=4.2
- python: 3.7
env: TEST=test FORM_VERSION=4.2.1
# support for minor Python versions
- python: 2.6
dist: trusty
env: TEST=test FORM_VERSION=4.2.1
- python: 3.2
dist: trusty
env: TEST=test FORM_VERSION=4.2.1
- python: 3.3
env: TEST=test FORM_VERSION=4.2
dist: trusty
env: TEST=test FORM_VERSION=4.2.1
- python: 3.4
env: TEST=test FORM_VERSION=4.2
env: TEST=test FORM_VERSION=4.2.1
- python: 3.5
env: TEST=test FORM_VERSION=4.2
- python: 3.6
env: TEST=test FORM_VERSION=4.0
- python: 3.6
env: TEST=test FORM_VERSION=4.1
env: TEST=test FORM_VERSION=4.2.1
- python: 3.6
env: TEST=test FORM_VERSION=4.2
env: TEST=test FORM_VERSION=4.2.1
- python: nightly
env: TEST=test FORM_VERSION=4.2
env: TEST=test FORM_VERSION=4.2.1
- python: pypy
env: TEST=test FORM_VERSION=4.2
env: TEST=test FORM_VERSION=4.2.1
- python: pypy3
env: TEST=test FORM_VERSION=4.2
- python: 3.6
env: TEST=test FORM_VERSION=4.2.1
# release
- python: 3.7
install: skip
script: skip
after_success: true
Expand Down
8 changes: 6 additions & 2 deletions scripts/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# Environment variables:
# TEST = test | lint
# FORM_VERSION = 4.0 | 4.1 | 4.2
# FORM_VERSION = 4.0 | 4.1 | 4.2 | 4.2.1

set -eu
set -o pipefail
Expand Down Expand Up @@ -54,6 +54,10 @@ travis_test_install() {
# v4.2.0 (2017-07-06)
form_url=https://github.com/vermaseren/form/releases/download/v4.2.0/form-4.2.0-x86_64-linux.tar.gz
;;
4.2.1)
# v4.2.1 (2019-02-01)
form_url=https://github.com/vermaseren/form/releases/download/v4.2.1/form-4.2.1-x86_64-linux.tar.gz
;;
*)
echo "Error: unsupported FORM_VERSION=$FORM_VERSION" >&2
exit 1
Expand All @@ -70,7 +74,7 @@ travis_test_install() {
# For testing/code coverage.
case "$TRAVIS_PYTHON_VERSION" in
2.6)
travis_retry pip install coverage nose-timer==0.7.0
travis_retry pip install colorama==0.3.9 coverage nose-timer==0.7.0
;;
3.2)
travis_retry pip install coverage==3.7.1 nose-timer
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def setup_package():
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Physics',
],
Expand Down

0 comments on commit 7ee81ff

Please sign in to comment.