Commit 0c7a9f9c authored by rusty1s's avatar rusty1s
Browse files

added travis build

parent 70762c5e
language: python
sudo: required
dist: trusty
matrix:
include:
- python: 2.7
- python: 3.5
- python: 3.6
install:
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install --quiet http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp27-cp27mu-linux_x86_64.whl; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pip install --quiet http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp35-cp35m-linux_x86_64.whl; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install --quiet http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp36-cp36m-linux_x86_64.whl; fi
- pip install pycodestyle
- pip install flake8
- pip install cffi
- pip install codecov
script:
- pycodestyle .
- flake8 .
- python setup.py install
- python setup.py test
after_success:
- codecov
notifications:
email: false
......@@ -5,7 +5,7 @@ from setuptools import setup, find_packages
__version__ = '0.1.0'
url = 'https://github.com/rusty1s/pytorch_spline_conv'
install_requires = ['cffi', 'torch-unique']
install_requires = ['cffi']
setup_requires = ['pytest-runner', 'cffi']
tests_require = ['pytest', 'pytest-cov']
......@@ -20,7 +20,7 @@ setup(
download_url='{}/archive/{}.tar.gz'.format(url, __version__),
keywords=[
'pytorch', 'cnn', 'spline-cnn', 'geometric-deep-learning', 'graph',
'mesh'
'mesh', 'neural-networks'
],
install_requires=install_requires,
setup_requires=setup_requires,
......
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