Updated readme, adds .travis.yml file

This commit is contained in:
Niru Maheswaranathan
2016-05-03 17:40:08 -07:00
parent 10a5044e6b
commit 2accf48136
4 changed files with 33 additions and 1 deletions

1
.gitignore vendored
View File

@@ -7,3 +7,4 @@ lib64/
*.egg
*.zip
docs/_build
.coverage

27
.travis.yml Normal file
View File

@@ -0,0 +1,27 @@
cache: apt
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
addons:
apt:
packages:
- libatlas-dev
- libatlas-base-dev
- liblapack-dev
- gfortran
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda update --yes conda
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy
- travis_retry pip install -r requirements-dev.txt
- travis_retry python setup.py install
script:
- nosetests --with-coverage --cover-package=tableprint --logging-level=INFO
after_success:
- coveralls

View File

@@ -1,5 +1,5 @@
# tableprint
Pretty ASCII printing :clipboard: of tabular data in python :snake:
Pretty console printing :clipboard: of tabular data in python :snake:
[![PyPi version](https://img.shields.io/pypi/v/tableprint.svg)](https://pypi.python.org/pypi/tableprint)
[![Documentation Status](https://readthedocs.org/projects/tableprint/badge/?version=latest)](http://tableprint.readthedocs.org/en/latest/?badge=latest)
@@ -37,6 +37,8 @@ Hosted at Read The Docs: [tableprint.readthedocs.org](http://tableprint.readthed
- `numpy`
## Version
- 0.3.2 (May 3 2016) Adds a test suite
- 0.3.0 (May 3 2016) Adds custom styles for tables, specified by a key ('fancy_grid', 'grid', etc.)
- 0.2.0 (May 2 2016) Adds better python2 (unicode/bytes) compatibility
- 0.1.5 (Oct 1 2015) Renamed hrtime to humantime, added docs
- 0.1.4 (Sept 28 2015) Added human readable string converter (hrtime)

2
requirements-dev.txt Normal file
View File

@@ -0,0 +1,2 @@
pytest
nose