Skip to content

Commit f815962

Browse files
committed
get reading for testing
1 parent 0aeb4cb commit f815962

File tree

4 files changed

+72
-6
lines changed

4 files changed

+72
-6
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
sudo: false
2+
language: python
3+
python:
4+
- 2.7
5+
- 3.4
6+
- 3.5
7+
os:
8+
- linux
9+
10+
install:
11+
- pip install tox-travis
12+
script: tox
13+
notifications:
14+
email: false

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ruamel.yaml == 0.12.4
2+
typing

setup.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@
2121
packages=["cwlupgrader"],
2222
install_requires=[
2323
'ruamel.yaml == 0.12.4',
24-
'typing'
25-
],
24+
'typing' ],
2625
entry_points={
2726
'console_scripts': [ "cwl-upgrader = cwlupgrader.main:main" ]
2827
},
29-
classifier=[
30-
'Development Status :: 2 - Pre-Alpha',
28+
classifiers=[
29+
'Development Status :: 4 - Beta',
3130
'Environment :: Console',
3231
'Intended Audience :: Developers',
3332
'Intended Audience :: Healthcare Industry',
@@ -41,7 +40,6 @@
4140
'Programming Language :: Python :: 3.4',
4241
'Programming Language :: Python :: 3.5',
4342
'Topic :: Scientific/Engineering',
44-
'Topic :: Scientific/Engineering :: Bio-Informatics'
45-
],
43+
'Topic :: Scientific/Engineering :: Bio-Informatics' ],
4644
zip_safe=True,
4745
)

tox.ini

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
[tox]
2+
#envlist = py35-lint,py34-lint,py33-lint,py27-lint,py35-unit,py34-unit,py33-unit,py27-unit
3+
envlist = py27-lint, py27-unit, py34-unit, py34-lint, py35-unit, py34-lint, py35-mypy
4+
skipsdist = True
5+
6+
[tox:travis]
7+
2.7 = py27
8+
3.4 = py34
9+
3.5 = py35
10+
11+
[testenv]
12+
deps = -rrequirements.txt
13+
14+
[testenv:py35-mypy]
15+
commands = make mypy
16+
whitelist_externals = make
17+
deps =
18+
mypy-lang>=0.4
19+
typed-ast
20+
-rrequirements.txt
21+
22+
[testenv:py35-lint]
23+
commands = flake8 schema_salad setup.py
24+
whitelist_externals = flake8
25+
deps = flake8
26+
27+
[testenv:py34-lint]
28+
commands = flake8 schema_salad setup.py
29+
whitelist_externals = flake8
30+
deps = flake8
31+
32+
[testenv:py33-lint]
33+
commands = flake8 schema_salad setup.py
34+
whitelist_externals = flake8
35+
deps = flake8
36+
37+
[testenv:py27-lint]
38+
commands = flake8 schema_salad setup.py
39+
whitelist_externals = flake8
40+
deps = flake8
41+
42+
[testenv:py35-unit]
43+
commands = python setup.py test
44+
45+
[testenv:py34-unit]
46+
commands = python setup.py test
47+
48+
[testenv:py33-unit]
49+
commands = python setup.py test
50+
51+
[testenv:py27-unit]
52+
commands = python setup.py test

0 commit comments

Comments
 (0)