-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |