Skip to content

Commit 17a8a78

Browse files
authored
Merge pull request #114 from alimanfoo/upgrade_env_20170213
Upgrade CI and dev environment
2 parents e381503 + 346ff4e commit 17a8a78

File tree

7 files changed

+526
-135
lines changed

7 files changed

+526
-135
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ python:
44
- 2.7
55
- 3.4
66
- 3.5
7+
- 3.6
78

89
install:
9-
- pip install -U tox-travis
10-
- pip install -U pip setuptools setuptools_scm wheel
11-
- pip install -U nose -rrequirements.txt
10+
- pip install -U tox-travis pip setuptools wheel
11+
- pip install -r requirements_dev.txt
1212
- python setup.py build_ext --inplace
1313

1414
script:

appveyor.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
branches:
2+
only:
3+
- master
4+
15
environment:
26

37
global:
@@ -28,17 +32,21 @@ environment:
2832
- PYTHON: "C:\\Python35-x64"
2933
PYTHON_VERSION: "3.5"
3034

35+
- PYTHON: "C:\\Python36"
36+
PYTHON_VERSION: "3.6"
37+
38+
- PYTHON: "C:\\Python36-x64"
39+
PYTHON_VERSION: "3.6"
40+
3141
install:
3242
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
3343
- git submodule update --init --recursive
3444

3545
build: off
3646

3747
test_script:
38-
- "%CMD_IN_ENV% python -m pip install -U pip"
39-
- "%CMD_IN_ENV% python -m pip install -U setuptools wheel"
40-
- "%CMD_IN_ENV% python -m pip install -rrequirements_test.txt"
41-
- "%CMD_IN_ENV% python -m pip install -rrequirements.txt"
48+
- "%CMD_IN_ENV% python -m pip install -U pip setuptools wheel"
49+
- "%CMD_IN_ENV% python -m pip install -rrequirements_dev.txt"
4250
- "%CMD_IN_ENV% python setup.py build_ext --inplace"
4351
- "%CMD_IN_ENV% python -m nose -v"
4452

docs/tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ LZMA's built-in delta filter::
233233
>>> z
234234
Array((10000, 10000), int32, chunks=(1000, 1000), order=C)
235235
nbytes: 381.5M; nbytes_stored: 248.9K; ratio: 1569.7; initialized: 100/100
236-
compressor: LZMA(format=1, check=-1, preset=None, filters=[{'dist': 4, 'id': 3}, {'preset': 1, 'id': 33}])
236+
compressor: LZMA(format=1, check=-1, preset=None, filters=[{'dist': 4, 'id': 3}, {'id': 33, 'preset': 1}])
237237
store: dict
238238

239239
The default compressor can be changed by setting the value of the

requirements_dev.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# pinned dependencies for the development and CI environment
2+
appdirs==1.4.0
3+
args==0.1.0
4+
clint==0.5.1
5+
coverage==4.3.4
6+
Cython==0.25.2
7+
fasteners==0.14.1
8+
flake8==3.3.0
9+
mccabe==0.6.1
10+
monotonic==1.2
11+
nose==1.3.7
12+
numpy==1.12.0
13+
packaging==16.8
14+
pkginfo==1.4.1
15+
pluggy==0.4.0
16+
py==1.4.32
17+
pycodestyle==2.3.1
18+
pyflakes==1.5.0
19+
pyparsing==2.1.10
20+
requests==2.13.0
21+
requests-toolbelt==0.7.1
22+
setuptools-scm==1.15.0
23+
six==1.10.0
24+
tox==2.6.0
25+
twine==1.8.1
26+
virtualenv==15.1.0

requirements_test.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

tox.ini

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,20 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py27, py34, py35, docs
7+
envlist = py27, py34, py35, py36, docs
88

99
[testenv]
1010
setenv =
1111
PYTHONHASHSEED = 42
1212
commands =
1313
python setup.py build_ext --inplace
14-
py27: nosetests -v zarr
15-
py34,py35: nosetests -v --with-coverage --cover-erase --cover-min-percentage=100 --cover-package=zarr --with-doctest --doctest-options=+NORMALIZE_WHITESPACE zarr
16-
py34,py35: python -m doctest -o NORMALIZE_WHITESPACE -o ELLIPSIS docs/tutorial.rst docs/spec/v2.rst
17-
py35: flake8 zarr
14+
py27,py34,py35: nosetests -v zarr
15+
py36: nosetests -v --with-coverage --cover-erase --cover-min-percentage=100 --cover-package=zarr --with-doctest --doctest-options=+NORMALIZE_WHITESPACE zarr
16+
py36: python -m doctest -o NORMALIZE_WHITESPACE -o ELLIPSIS docs/tutorial.rst docs/spec/v2.rst
17+
py36: flake8 zarr
1818
python setup.py bdist_wheel
1919
deps =
20-
-rrequirements_test.txt
21-
-rrequirements.txt
20+
-rrequirements_dev.txt
2221

2322
[testenv:docs]
2423
basepython = python2.7

0 commit comments

Comments
 (0)