Skip to content

Commit

Permalink
Add Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
master committed Oct 16, 2020
1 parent a01b54b commit 3d06d8d
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 9 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
dist: bionic
language: python
python:
- "3.6"
- "3.7"
- "3.8"
os: linux
install:
- pip install -r requirements_dev.txt
- python setup.py develop
script:
- black --line-length 80 --check --diff tensorflow_manopt
- pytest -v tensorflow_manopt
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# TensorFlow ManOpt

[![Build Status](https://travis-ci.org/master/tensorflow-manopt.svg?branch=master)](https://travis-ci.org/master/tensorflow-manopt)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
[![License](https://img.shields.io/:license-mit-blue.svg)](https://badges.mit-license.org)

A library for manifold-constrained optimization in TensorFlow.
Expand Down
4 changes: 2 additions & 2 deletions examples/grnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ Implementation of GrNet [1], a deep network on Grassmann manifolds.

## Requirements

* Python 3.5+
* Python 3.6+
* SciPy
* NumPy
* TensorFlow 2.3+
* TensorFlow 2.0+
* TensorFlow ManOpt

## Training
Expand Down
4 changes: 2 additions & 2 deletions examples/lienet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ skeleton-based action recognition.

## Requirements

* Python 3.5+
* Python 3.6+
* SciPy
* NumPy
* TensorFlow 2.3+
* TensorFlow 2.0+
* TensorFlow ManOpt

## Training
Expand Down
4 changes: 2 additions & 2 deletions examples/spdnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ Implementation of SPDNet [1], a Riemannian network for SPD matrix learning.

## Requirements

* Python 3.5+
* Python 3.6+
* SciPy
* NumPy
* TensorFlow 2.3+
* TensorFlow 2.0+
* TensorFlow ManOpt

## Training
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tensorflow>=2.3.0
tensorflow>=2.0.0
2 changes: 2 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pip>=20.0.0
black
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@
author_email="[email protected]",
packages=find_packages(),
install_requires=Path("requirements.txt").read_text().splitlines(),
python_requires=">=3.5.0",
python_requires=">=3.6.0",
url="https://github.com/master/tensorflow-manopt",
zip_safe=True,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
Expand Down

0 comments on commit 3d06d8d

Please sign in to comment.