even simpler

This commit is contained in:
Michael James 2018-09-06 13:50:32 -06:00
parent 9b642f4f2f
commit 58421d84fa

View file

@ -1,37 +1,12 @@
# 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
- 2.7
cache: pip
install:
- python setup.py install
script: pytest
- pip install -r requirements.txt
- python setup.py install
script: true