Skip to content

Commit 5a0804f

Browse files
committed
removed py2.7 test
1 parent 4149cd2 commit 5a0804f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ sudo: required
33
dist: trusty
44
matrix:
55
include:
6-
- python: 2.7
76
- python: 3.5
87
- python: 3.6
98
addons:
@@ -17,15 +16,14 @@ before_install:
1716
- export CC="gcc-4.9"
1817
- export CXX="g++-4.9"
1918
install:
20-
- pip install future
2119
- pip install numpy
2220
- pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
2321
- pip install pycodestyle
2422
- pip install flake8
2523
- pip install codecov
2624
script:
27-
- if [[ $TRAVIS_PYTHON_VERSION != 2.7 ]]; then pycodestyle .; fi
28-
- if [[ $TRAVIS_PYTHON_VERSION != 2.7 ]]; then flake8 .; fi
25+
- pycodestyle .
26+
- flake8 .
2927
- python setup.py install
3028
- python setup.py test
3129
- cd docs && pip install -r requirements.txt && make clean && make html && make doctest && cd ..

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
install_requires = []
2727
setup_requires = ['pytest-runner']
28-
tests_require = ['pytest-cov', 'pytest<5.0']
28+
tests_require = ['pytest', 'pytest-cov']
2929

3030
setup(
3131
name='torch_scatter',

0 commit comments

Comments
 (0)