Skip to content

Commit

Permalink
Merge pull request #66 from pelson/configurable_appveyor_secure
Browse files Browse the repository at this point in the history
Make the secure variables configurable for AppVeyor.
  • Loading branch information
pelson committed Mar 9, 2016
2 parents 2c5f836 + cd25ade commit 0b131fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions conda_smithy/templates/appveyor.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ environment:
# overridden in the matrix definition where appropriate.
CONDA_PY: "27"

BINSTAR_TOKEN:
# Generated with "binstar auth --create --name appveyor -o conda-forge" and encrypted on ci.appveyor.com/tools/encrypt.
secure: wtylLGtp/ID3G3DFT2uxuLFXuijFqmxI6phj60izpNC3pxd585bR6k2oonf5iGGb
{%- for name, hashed_secure in appveyor.secure | dictsort %}
{{ name }}:
# The {{ name }} secure variable. This is defined canonically in conda-forge.yml.
- secure: {{ hashed_secure }}
{%- endfor %}

matrix:{% for case in matrix | sort %}
{{ matrix_env("x86", case) }}
Expand Down
2 changes: 1 addition & 1 deletion conda_smithy/templates/travis.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
{%- if travis.secure %}
global:
{%- for name, hashed_secure in travis.secure | dictsort %}
# The {{ name }} secure variable. This is defined canonically in forge.yml.
# The {{ name }} secure variable. This is defined canonically in conda-forge.yml.
- secure: "{{ hashed_secure }}"
{%- endfor %}
{%- endif %}
Expand Down

0 comments on commit 0b131fc

Please sign in to comment.