From b194182992b9e1ba58e131505f3cb452de3fd54a Mon Sep 17 00:00:00 2001 From: John Jasa Date: Mon, 24 Aug 2020 10:02:19 -0600 Subject: [PATCH] Updated travis --- .travis.yml | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 79870a893..5d03cab7b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,30 @@ language: python + python: - - "3.8" + - 3.8 -install: - - pip install openmdao testflo - - pip install -e . - - pip list +install: + - sudo apt-get update + # We do this conditionally because it saves us some downloading if the + # version is the same. + - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; + - bash miniconda.sh -b -p $HOME/miniconda + - source "$HOME/miniconda/etc/profile.d/conda.sh" + - hash -r + - conda config --set always_yes yes --set changeps1 no + - conda update -q conda + - conda config --add channels conda-forge + # Useful for debugging any issues with conda + - conda info -a + # Create environment and install dependences dependencies + - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION + - conda activate test-environment + - conda install -q --yes compilers matplotlib pytest pytest-cov coveralls pip openmdao jsonschema ruamel_yaml pyyaml make xlrd cython pandas numpydoc six setuptools git numpy scipy geopy testflo + - pip install simpy marmot-agents + + # Install WEIS + - pip install -e .; + script: - testflo weis