From 58421d84faa244a4529171f74a04f3895c63dd0d Mon Sep 17 00:00:00 2001 From: Michael James Date: Thu, 6 Sep 2018 13:50:32 -0600 Subject: [PATCH] even simpler --- .travis.yml | 35 +++++------------------------------ 1 file changed, 5 insertions(+), 30 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5bcbb17..f4e84e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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