python-awips/.travis.yml
Michael James 9b642f4f2f pytest?
2018-09-06 13:38:26 -06:00

37 lines
867 B
YAML

# After changing this file, check it on:
# http://lint.travis-ci.org/
language: python
# sudo false implies containerized builds
sudo: false
python:
- 2.7
- 3.6
env:
global:
# List package dependencies for conda
- CONDA_DEPS="pytest numpy shapely six"
# package name for test invocation
- PACKAGENAME="python-awips"
before_install:
# Here we download miniconda and install the dependencies
- export MINICONDA=$HOME/miniconda
- export PATH="$MINICONDA/bin:$PATH"
- hash -r
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -f -p $MINICONDA
- conda config --set always_yes yes
- conda update conda
- conda info -a
- conda create -n testenv python=$TRAVIS_PYTHON_VERSION
- source activate testenv
- conda install $CONDA_DEPS
install:
- python setup.py install
script: pytest