Skip to content

Commit 3d06d8d

Browse files
committed
Add Travis build
1 parent a01b54b commit 3d06d8d

File tree

8 files changed

+25
-9
lines changed

8 files changed

+25
-9
lines changed

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
dist: bionic
2+
language: python
3+
python:
4+
- "3.6"
5+
- "3.7"
6+
- "3.8"
7+
os: linux
8+
install:
9+
- pip install -r requirements_dev.txt
10+
- python setup.py develop
11+
script:
12+
- black --line-length 80 --check --diff tensorflow_manopt
13+
- pytest -v tensorflow_manopt

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# TensorFlow ManOpt
22

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

57
A library for manifold-constrained optimization in TensorFlow.

examples/grnet/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Implementation of GrNet [1], a deep network on Grassmann manifolds.
66

77
## Requirements
88

9-
* Python 3.5+
9+
* Python 3.6+
1010
* SciPy
1111
* NumPy
12-
* TensorFlow 2.3+
12+
* TensorFlow 2.0+
1313
* TensorFlow ManOpt
1414

1515
## Training

examples/lienet/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ skeleton-based action recognition.
77

88
## Requirements
99

10-
* Python 3.5+
10+
* Python 3.6+
1111
* SciPy
1212
* NumPy
13-
* TensorFlow 2.3+
13+
* TensorFlow 2.0+
1414
* TensorFlow ManOpt
1515

1616
## Training

examples/spdnet/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Implementation of SPDNet [1], a Riemannian network for SPD matrix learning.
66

77
## Requirements
88

9-
* Python 3.5+
9+
* Python 3.6+
1010
* SciPy
1111
* NumPy
12-
* TensorFlow 2.3+
12+
* TensorFlow 2.0+
1313
* TensorFlow ManOpt
1414

1515
## Training

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
tensorflow>=2.3.0
1+
tensorflow>=2.0.0

requirements_dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pip>=20.0.0
2+
black

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@
99
author_email="[email protected]",
1010
packages=find_packages(),
1111
install_requires=Path("requirements.txt").read_text().splitlines(),
12-
python_requires=">=3.5.0",
12+
python_requires=">=3.6.0",
1313
url="https://github.com/master/tensorflow-manopt",
1414
zip_safe=True,
1515
classifiers=[
1616
"Development Status :: 4 - Beta",
1717
"Intended Audience :: Science/Research",
1818
"License :: OSI Approved :: MIT License",
1919
"Programming Language :: Python :: 3",
20-
"Programming Language :: Python :: 3.5",
2120
"Programming Language :: Python :: 3.6",
2221
"Programming Language :: Python :: 3.7",
2322
"Programming Language :: Python :: 3.8",

0 commit comments

Comments
 (0)