Renamed DEFAULT_STYLES to styles

This commit is contained in:
Niru Maheswaranathan
2016-10-07 11:44:43 -07:00
parent 28ab691994
commit a587f4adbd
2 changed files with 28 additions and 28 deletions

View File

@@ -1,27 +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
install:
- sudo apt-get update
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda update --yes conda
install:
- conda install --yes pip numpy
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION pip numpy
- source activate test-environment
- travis_retry pip install -r requirements-dev.txt
- travis_retry python setup.py install
script:
- nosetests --with-coverage --cover-package=tableprint --logging-level=INFO
- py.test
after_success:
- coveralls