mirror of
https://github.com/KevinMidboe/tableprint.git
synced 2026-01-10 03:15:56 +00:00
Renamed DEFAULT_STYLES to styles
This commit is contained in:
30
.travis.yml
30
.travis.yml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user