-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (42 loc) · 1.12 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[flake8]
ignore = E265,E501
max-line-length = 100
max-complexity = 10
[pytest]
addopts = -rxEfsw --strict
filterwarnings =
error
ignore::UserWarning
ignore::RuntimeWarning
[tox]
envlist =
py{27,35,36}-{linux,osx,windows}
[testenv]
platform = linux: linux
osx: darwin
windows: win32
; simplify numpy installation
setenv =
LAPACK=
ATLAS=None
PYTHONWARNINGS=ignore
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=en_US.UTF-8
usedevelop = True
deps =
six
pytest
pytest-xdist
numpy
scipy
nltk
matplotlib
py27-osx: http://download.pytorch.org/whl/torch-0.3.1-cp27-none-macosx_10_6_x86_64.whl
py35-osx: http://download.pytorch.org/whl/torch-0.3.1-cp35-cp35m-macosx_10_6_x86_64.whl
py36-osx: http://download.pytorch.org/whl/torch-0.3.1-cp36-cp36m-macosx_10_7_x86_64.whl
py27-linux: http://download.pytorch.org/whl/cpu/torch-0.3.1-cp27-cp27mu-linux_x86_64.whl
py35-linux: http://download.pytorch.org/whl/cpu/torch-0.3.1-cp35-cp35m-linux_x86_64.whl
py36-linux: http://download.pytorch.org/whl/cpu/torch-0.3.1-cp36-cp36m-linux_x86_64.whl
changedir = tests
commands = pytest