Skip to content

Commit

Permalink
set GIT_BRANCH environment variable (to be used in meta.yaml)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilipp committed Feb 20, 2019
1 parent f23a713 commit 2d010ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ install:
- 'echo "backend : module://psyplot_gui.backend" > matplotlibrc'
- 'export MATPLOTLIBRC=`pwd`/matplotlibrc'
- export PYTHONWARNINGS='ignore:mode:DeprecationWarning:docutils.io:245'
- if [[ $TRAVIS_TAG == "" ]]; then export GIT_BRANCH=$TRAVIS_BRANCH; fi
- if [[ $USE_PIP == true ]]; then pip install .; fi
- conda info -a
- conda list
Expand Down
5 changes: 3 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ environment:

install:
- "SET ORIGPATH=%PATH%"
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- setlocal
- set CONDA_REPO_TOKEN=
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels conda-forge
- conda config --add channels chilipp/label/dev
Expand All @@ -21,8 +21,9 @@ install:
- conda install conda-build anaconda-client
- conda info -a
- conda list
- 'SET PYTHONWARNINGS=ignore:mode:DeprecationWarning:docutils.io:245'
- endlocal
- 'SET PYTHONWARNINGS=ignore:mode:DeprecationWarning:docutils.io:245'
- "IF NOT DEFINED APPVEYOR_REPO_TAG_NAME (SET GIT_BRANCH=%APPVEYOR_REPO_BRANCH%)"

build: off

Expand Down

0 comments on commit 2d010ae

Please sign in to comment.