Modified Jenkinsfile to disable stage3 install in feature5837 branch
[osm/osmclient.git] / tox.ini
1 #
2 # Licensed under the Apache License, Version 2.0 (the "License"); you may
3 # not use this file except in compliance with the License. You may obtain
4 # a copy of the License at
5 #
6 # http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11 # License for the specific language governing permissions and limitations
12 # under the License.
13 #
14 [tox]
15 envlist = py27,py35,flake8,pyflakes
16 toxworkdir={homedir}/.tox
17
18 [testenv]
19 deps = nose
20 mock
21 commands =
22 nosetests
23
24 [testenv:flake8]
25 basepython = python
26 deps = flake8
27 commands =
28 flake8 setup.py
29
30 [testenv:pyflakes]
31 basepython = python3
32 deps = pyflakes
33 commands =
34 pyflakes osmclient
35
36 [testenv:build]
37 basepython = python
38 deps = stdeb
39 setuptools-version-command
40 commands = python setup.py --command-packages=stdeb.command bdist_deb
41
42 [testenv:build3]
43 basepython = python3
44 deps = stdeb
45 setuptools-version-command
46 commands = python3 setup.py --command-packages=stdeb.command bdist_deb
47