Skip to content
This repository has been archived by the owner on Nov 22, 2017. It is now read-only.

Commit

Permalink
Merge cc50912 into 7a2e7fc
Browse files Browse the repository at this point in the history
  • Loading branch information
F3real committed Apr 20, 2016
2 parents 7a2e7fc + cc50912 commit 3191cf3
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 16 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ recursive-include mozci.egg-info *
recursive-include test *
include setup.py
include README.rst
include requirements.txt
9 changes: 0 additions & 9 deletions requirements.txt

This file was deleted.

15 changes: 12 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
from setuptools import setup, find_packages

with open('requirements.txt') as f:
required = f.read().splitlines()

required = [
"buildapi_client",
"ijson",
"keyring",
"progressbar",
"pushlog_client",
"requests",
"taskcluster",
"treeherder-client",
"jsonschema"
]

setup(
name='mozci',
version='0.32.1',
packages=find_packages(),
install_requires=required + ['pytest-runner'],
tests_require=required + ['mock', 'pytest'],

# Meta-data for upload to PyPI
author='Armen Zambrano G.',
author_email='armenzg@mozilla.com',
Expand Down
41 changes: 38 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,44 @@
[tox]
envlist = py27
envlist = py27_new_deps

[testenv]
basepython = python
basepython = python2.7

deps = -rrequirements.txt

[testenv:py27_current_deps]
deps =
buildapi_client==0.2.2
ijson==2.2
keyring==5.3
progressbar==2.3
pushlog_client==0.5.0
requests==2.8.1
taskcluster==0.3.0
treeherder-client==2.0.1
jsonschema==2.5.1
coverage
flake8
flake8_docstrings
mock
pytest
pytest-capturelog

commands =
flake8 mozci test
coverage run --source=mozci -m py.test test


[testenv:py27_new_deps]
deps =
buildapi_client
ijson
keyring
progressbar
pushlog_client
requests
taskcluster
treeherder-client
jsonschema
coverage
flake8
flake8_docstrings
Expand All @@ -16,6 +50,7 @@ commands =
flake8 mozci test
coverage run --source=mozci -m py.test test


[flake8]
exclude = .tox
show-source = True
Expand Down

0 comments on commit 3191cf3

Please sign in to comment.