-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes to dependencies and travis file
- Loading branch information
1 parent
8f29a16
commit 37d7fbe
Showing
2 changed files
with
21 additions
and
17 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,23 +1,25 @@ | ||
language: python | ||
#sudo: false | ||
# choose python versions | ||
os: | ||
- linux | ||
# - osx | ||
# - windows | ||
|
||
|
||
# choose python versions | ||
python: | ||
- "2.7" | ||
- "3.6" | ||
- "3.7" | ||
# - "2.7" | ||
|
||
install: | ||
|
||
# Install miniconda | ||
# ----------------- | ||
- export CONDA_BASE=http://repo.continuum.io/miniconda/Miniconda3; | ||
|
||
- PYTHON_TARGET=$TRAVIS_PYTHON_VERSION | ||
- echo $PYTHON_TARGET | ||
- if [[ $PYTHON_TARGET == 3* ]]; then | ||
export CONDA_BASE=http://repo.continuum.io/miniconda/Miniconda3; | ||
fi | ||
- echo $CONDA_BASE | ||
- wget ${CONDA_BASE}-latest-Linux-x86_64.sh -O miniconda.sh; | ||
|
||
- bash miniconda.sh -b -p $HOME/miniconda | ||
|
@@ -34,23 +36,28 @@ install: | |
|
||
# Customise the testing environment | ||
# --------------------------------- | ||
#install requirements from conda-forge based on conda-requirements.txt: | ||
- conda install -c conda-forge --quiet --file conda_requirements.txt | ||
- conda install -c conda-forge --quiet pytest | ||
- PREFIX=$HOME/miniconda/envs/$ENV_NAME | ||
- pip install --upgrade git+ssh://[email protected]/mheikenfeld/piecharts.git | ||
- pip install --upgrade git+ssh://[email protected]/mheikenfeld/mpdiag.git | ||
#install pytest: | ||
- conda install -c conda-forge --quiet pytest | ||
# install packages directly from github: | ||
- pip install git+https://github.com/mheikenfeld/piecharts.git | ||
- pip install git+https://github.com/mheikenfeld/mpdiag.git | ||
|
||
- PREFIX=$HOME/miniconda/envs/$ENV_NAME | ||
|
||
# Output debug info | ||
- conda list | ||
- conda info -a | ||
|
||
# Install | ||
#- python setup.py --quiet install | ||
- pip install . | ||
# to check if package has been installed | ||
|
||
# Output debug info | ||
- conda list | ||
|
||
# command to run tests | ||
#script | ||
script: | ||
- pytest | ||
|
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,9 +1,6 @@ | ||
iris | ||
wrfcube | ||
ramscube | ||
numpy | ||
scipy | ||
tobac | ||
pandas | ||
matplotlib | ||
|
||
wrfcube | ||
ramscube |