From 4b85b8da133d43413c876f31ea79258d927e0780 Mon Sep 17 00:00:00 2001 From: Jeremy Fee <jmfee@usgs.gov> Date: Wed, 21 Oct 2020 15:53:42 -0600 Subject: [PATCH] Try PIPENV_PYTHON environment variable --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index dd939c57..7a75700e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,8 @@ install: - conda update --yes conda - conda info -a script: - # activate conda environment - - conda activate + # point pipenv to conda + - export PIPENV_PYTHON=$HOME/miniconda/bin/python # pass PYTHON_VERSION to check code script - export PYTHON_VERSION=$TRAVIS_PYTHON_VERSION # run linting and tests -- GitLab