Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-scatter
Commits
5a0804fc
"torchvision/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "b7c59a086f4e45b8e5e799084e97cca775977a3b"
Commit
5a0804fc
authored
Jun 29, 2019
by
rusty1s
Browse files
removed py2.7 test
parent
4149cd2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
.travis.yml
.travis.yml
+2
-4
setup.py
setup.py
+1
-1
No files found.
.travis.yml
View file @
5a0804fc
...
@@ -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 ..
...
...
setup.py
View file @
5a0804fc
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment