"torchvision/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "b7c59a086f4e45b8e5e799084e97cca775977a3b"
Commit 5a0804fc authored by rusty1s's avatar rusty1s
Browse files

removed py2.7 test

parent 4149cd2e
...@@ -3,7 +3,6 @@ sudo: required ...@@ -3,7 +3,6 @@ sudo: required
dist: trusty dist: trusty
matrix: matrix:
include: include:
- python: 2.7
- python: 3.5 - python: 3.5
- python: 3.6 - python: 3.6
addons: addons:
...@@ -17,15 +16,14 @@ before_install: ...@@ -17,15 +16,14 @@ before_install:
- export CC="gcc-4.9" - export CC="gcc-4.9"
- export CXX="g++-4.9" - export CXX="g++-4.9"
install: install:
- pip install future
- pip install numpy - pip install numpy
- pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html - pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
- pip install pycodestyle - pip install pycodestyle
- pip install flake8 - pip install flake8
- pip install codecov - pip install codecov
script: script:
- if [[ $TRAVIS_PYTHON_VERSION != 2.7 ]]; then pycodestyle .; fi - pycodestyle .
- if [[ $TRAVIS_PYTHON_VERSION != 2.7 ]]; then flake8 .; fi - flake8 .
- python setup.py install - python setup.py install
- python setup.py test - python setup.py test
- cd docs && pip install -r requirements.txt && make clean && make html && make doctest && cd .. - cd docs && pip install -r requirements.txt && make clean && make html && make doctest && cd ..
......
...@@ -25,7 +25,7 @@ url = 'https://github.com/rusty1s/pytorch_scatter' ...@@ -25,7 +25,7 @@ url = 'https://github.com/rusty1s/pytorch_scatter'
install_requires = [] install_requires = []
setup_requires = ['pytest-runner'] setup_requires = ['pytest-runner']
tests_require = ['pytest-cov', 'pytest<5.0'] tests_require = ['pytest', 'pytest-cov']
setup( setup(
name='torch_scatter', name='torch_scatter',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment