From 41656858c0e847a0f37e01ffc8bd379aae54b5f1 Mon Sep 17 00:00:00 2001 From: Jeremy Fee <jmfee@usgs.gov> Date: Wed, 21 Oct 2020 16:43:27 -0600 Subject: [PATCH] Switch to travis minimal container --- .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9409d1dc..e85467a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,11 @@ -language: python -python: - - 3.6 - - 3.7 - - 3.8 +language: minimal +# run in container +arch: arm64 +dist: focal +env: + - PYTHON_VERSION=3.6 + - PYTHON_VERSION=3.7 + - PYTHON_VERSION=3.8 install: ## courtesy of http://conda.pydata.org/docs/travis.html - wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh @@ -13,9 +16,6 @@ install: - conda update --yes conda - conda info -a script: - # use conda - - source ~/virtualenv/python3.7/bin/deactivate - - source $HOME/miniconda/bin/activate base # pass PYTHON_VERSION to check code script - export PYTHON_VERSION=$TRAVIS_PYTHON_VERSION # run linting and tests -- GitLab