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-spline-conv
Commits
e60c8845
Commit
e60c8845
authored
Jun 29, 2019
by
rusty1s
Browse files
only lint on py > 2
parent
02470fd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
.travis.yml
.travis.yml
+5
-4
No files found.
.travis.yml
View file @
e60c8845
...
...
@@ -3,6 +3,7 @@ sudo: required
dist
:
trusty
matrix
:
include
:
-
python
:
2.7
-
python
:
3.5
-
python
:
3.6
addons
:
...
...
@@ -16,14 +17,14 @@ before_install:
-
export CC="gcc-4.9"
-
export CXX="g++-4.9"
install
:
-
if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pip install https://download.pytorch.org/whl/cpu/torch-1.1.0-cp35-cp35m-linux_x86_64.whl; fi
-
if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install
https://download.pytorch.org/whl/cpu/torch
-1.1.0-cp36-cp36m-linux_x86_64.whl; fi
-
pip install numpy
-
pip install torch_nightly -f
https://download.pytorch.org/whl/
nightly/
cpu/torch
_nightly.html
-
pip install pycodestyle
-
pip install flake8
-
pip install codecov
script
:
-
pycodestyle .
-
flake8 .
-
if [[ $TRAVIS_PYTHON_VERSION != 2.7 ]]; then
pycodestyle .
; fi
-
if [[ $TRAVIS_PYTHON_VERSION != 2.7 ]]; then
flake8 .
; fi
-
python setup.py install
-
python setup.py test
after_success
:
...
...
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