Skip to content

Commit 4a31f2a

Browse files
authored
Merge pull request #1104 from common-workflow-language/travis-xenial
Travis CI is moving to Xenial, try that now
2 parents ae048d5 + bf9e74a commit 4a31f2a

File tree

6 files changed

+34
-41
lines changed

6 files changed

+34
-41
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
dist: trusty
2-
sudo: required
1+
dist: xenial
32
services:
43
- docker
54

@@ -23,15 +22,14 @@ jobs:
2322
include:
2423
- stage: test
2524
python: "2.7"
26-
- stage: test
27-
python: "3.4"
2825
- stage: test
2926
python: "3.5"
3027
- stage: test
3128
python: "3.6"
3229
- stage: test
3330
python: "3.7"
34-
dist: xenial
31+
#- stage: test
32+
# python: "3.8-dev" # ruamel.yaml doesn't support 3.8 yet
3533
- stage: release-test
3634
python: "2.7"
3735
script: RELEASE_SKIP=head ${TRAVIS_BUILD_DIR}/release-test.sh

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Style guide:
22
PEP-8
3-
Python 2.7 + Python 3.4+ compatible code
3+
Python 2.7 + Python 3.5+ compatible code
44
PEP-484 type hints, in comments for Python 2.7 compatability
55
Vertically align the type hints in function definitions
66

77
In order to contribute to the development of ``cwltool``, you need to install cwltool from source (preferably in a virtual environment):
8-
Here's a rough
8+
Here's a rough guide (improvements are welcome!)
99
- Install virtualenv via pip: ``pip install virtualenv``
1010
- Clone the cwltool: ``git clone https://github.com/common-workflow-language/cwltool.git``
1111
- Switch to cwltool directory: ``cd cwltool``

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ intended to be feature complete and provide comprehensive validation of CWL
2525
files as well as provide other tools related to working with CWL.
2626

2727
This is written and tested for
28-
`Python <https://www.python.org/>`_ ``2.7 and 3.x {x = 4, 5, 6, 7}``
28+
`Python <https://www.python.org/>`_ ``2.7 and 3.x {x = 5, 6, 7}``
2929

3030
The reference implementation consists of two packages. The ``cwltool`` package
3131
is the primary Python module containing the reference implementation in the

appveyor.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ environment:
1212
PYTHON_VERSION: "2.7.x"
1313
PYTHON_ARCH: "64"
1414

15-
- PYTHON: "C:\\Python34-x64"
16-
PYTHON_VERSION: "3.4.x"
17-
PYTHON_ARCH: "64"
18-
1915
- PYTHON: "C:\\Python35-x64"
2016
PYTHON_VERSION: "3.5.x"
2117
PYTHON_ARCH: "64"

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@
9898
'Programming Language :: Python :: 2',
9999
'Programming Language :: Python :: 2.7',
100100
'Programming Language :: Python :: 3',
101-
'Programming Language :: Python :: 3.4', # except on MS Windows
102101
'Programming Language :: Python :: 3.5',
103102
'Programming Language :: Python :: 3.6',
104103
'Programming Language :: Python :: 3.7',

tox.ini

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
22
envlist =
3-
py{27,34,35,36,37}-lint,
4-
py{27,34,35,36,37}-unit,
5-
py{27,34,35,36,37}-bandit,
6-
py{34,35,36,36,37}-mypy{2,3},
3+
py{27,35,36,37,38}-lint,
4+
py{27,35,36,37,38}-unit,
5+
py{27,35,36,37,38}-bandit,
6+
py{35,36,36,37,38}-mypy{2,3},
77
py27-pipconflictchecker,
88
py27-lint-readme,
99
py27-pydocstyle
@@ -14,10 +14,10 @@ skip_missing_interpreters = True
1414
[travis]
1515
python =
1616
2.7: py27
17-
3.4: py34
1817
3.5: py35
1918
3.6: py36
2019
3.7: py37
20+
3.8-dev: py38
2121

2222
[testenv]
2323
passenv =
@@ -26,35 +26,35 @@ passenv =
2626
TRAVIS_*
2727
deps =
2828
-rrequirements.txt
29-
py{27,34,35,36,37}-unit: codecov
30-
py{27,34,35,36,37}-unit: pytest-xdist<1.28.0
31-
py{27,34,35,36,37}-unit: pytest-cov
32-
py{27,34,35,36,37}-unit: -rtest-requirements.txt
33-
py{27,34,35,36,37}-unit: galaxy-lib
34-
py{27,34,35,36,37}-lint: flake8
35-
py{27,34,35,36,37}-bandit: bandit
36-
py{34,35,36,36,37}-mypy{2,3}: mypy==0.620
29+
py{27,35,36,37,38}-unit: codecov
30+
py{27,35,36,37,38}-unit: pytest-xdist<1.28.0
31+
py{27,35,36,37,38}-unit: pytest-cov
32+
py{27,35,36,37,38}-unit: -rtest-requirements.txt
33+
py{27,35,36,37,38}-unit: galaxy-lib
34+
py{27,35,36,37,38}-lint: flake8
35+
py{27,35,36,37,38}-bandit: bandit
36+
py{35,36,36,37,38}-mypy{2,3}: mypy==0.620
3737

3838
setenv =
39-
py{27,34,35,36,37}-unit: LC_ALL = C
39+
py{27,35,36,37,38}-unit: LC_ALL = C
4040

4141
commands =
42-
py{27,34,35,36,37}-unit: python -m pip install -U pip setuptools wheel
43-
py{27,34,35,36,37}-unit: python -m pip install -e .[deps]
44-
py{27,34,35,36,37}-unit: python -m pip install -rtest-requirements.txt
45-
py{27,34,35,36,37}-unit: coverage run --parallel-mode -m pytest --strict {posargs}
46-
py{27,34,35,36,37}-unit: coverage combine
47-
py{27,34,35,36,37}-unit: coverage report
48-
py{27,34,35,36,37}-unit: coverage xml
49-
py{27,34,35,36,37}-unit: codecov --file coverage.xml
50-
py{27,34,35,36,37}-bandit: bandit -r cwltool
51-
py{27,34,35,36,37}-lint: flake8 schema_salad setup.py
52-
py{34,35,36,36,37}-mypy2: make mypy2
53-
py{34,35,36,36,37}-mypy3: make mypy3
42+
py{27,35,36,37,38}-unit: python -m pip install -U pip setuptools wheel
43+
py{27,35,36,37,38}-unit: python -m pip install -e .[deps]
44+
py{27,35,36,37,38}-unit: python -m pip install -rtest-requirements.txt
45+
py{27,35,36,37,38}-unit: coverage run --parallel-mode -m pytest --strict {posargs}
46+
py{27,35,36,37,38}-unit: coverage combine
47+
py{27,35,36,37,38}-unit: coverage report
48+
py{27,35,36,37,38}-unit: coverage xml
49+
py{27,35,36,37,38}-unit: codecov --file coverage.xml
50+
py{27,35,36,37,38}-bandit: bandit -r cwltool
51+
py{27,35,36,37,38}-lint: flake8 schema_salad setup.py
52+
py{35,36,36,37,38}-mypy2: make mypy2
53+
py{35,36,36,37,38}-mypy3: make mypy3
5454

5555
whitelist_externals =
56-
py{27,34,35,36,37}-lint: flake8
57-
py{34,35,36,36,37}-mypy{2,3}: make
56+
py{27,35,36,37,38}-lint: flake8
57+
py{35,36,36,37,38}-mypy{2,3}: make
5858

5959
[testenv:py27-pipconflictchecker]
6060
commands = pipconflictchecker

0 commit comments

Comments
 (0)