diff options
| author | Joern Hees <dev@joernhees.de> | 2015-03-09 16:11:08 +0100 |
|---|---|---|
| committer | Joern Hees <dev@joernhees.de> | 2015-03-09 17:23:57 +0100 |
| commit | 867d142128eb4f2bb96029c13c1480a30255519c (patch) | |
| tree | 325fcd968f67e9b13fdb9f946e6412638b74eebd | |
| parent | 49a0177d0605756c3e6ab8877466f8d3c9434c6c (diff) | |
| download | rdflib-867d142128eb4f2bb96029c13c1480a30255519c.tar.gz | |
add networkx as test requirement
| -rw-r--r-- | .travis.yml | 2 | ||||
| -rw-r--r-- | setup.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 91f95ff1..5c172c51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ install: - if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '2' ]]; then pip install --default-timeout 60 -r requirements.py2.txt; pip install --default-timeout 60 "html5lib";fi - if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '3' ]]; then pip install --default-timeout 60 -r requirements.py3.txt; fi - if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then pip install --upgrade "https://bitbucket.org/gjhiggins/isodate/downloads/isodate-0.4.8.tar.gz"; pip install --default-timeout 60 "elementtree"; fi - - if [[ $TRAVIS_PYTHON_VERSION != '2.5' ]]; then pip install --default-timeout 60 coverage coveralls nose-timer && export HAS_COVERALLS=1; fi + - if [[ $TRAVIS_PYTHON_VERSION != '2.5' ]]; then pip install --default-timeout 60 coverage coveralls nose-timer networkx && export HAS_COVERALLS=1; fi - python setup.py install before_script: @@ -39,7 +39,7 @@ if sys.version_info[0] >= 3: from setuptools import setup # kwargs['use_2to3'] = True # is done in setup_python3 above already kwargs['install_requires'] = ['isodate', 'pyparsing'] - kwargs['tests_require'] = ['html5lib'] + kwargs['tests_require'] = ['html5lib', 'networkx'] kwargs['requires'] = [ 'isodate', 'pyparsing', 'SPARQLWrapper'] @@ -53,6 +53,7 @@ else: kwargs['install_requires'] = [ 'isodate', 'pyparsing', 'SPARQLWrapper'] + kwargs['tests_require'] = ['networkx'] if sys.version_info[1]<7: # Python 2.6 kwargs['install_requires'].append('ordereddict') |
