From 7b65cd23db6fc45f2f9614d2f232dfa91edc9309 Mon Sep 17 00:00:00 2001 From: Richard Frank Date: Thu, 10 Nov 2016 12:01:58 -0500 Subject: [PATCH] DOC: Added ANACONDA_TOKEN directions --- .travis.yml | 10 +++++++++- appveyor.yml | 6 +++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 34551148..f8ee9fa9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,15 @@ python: - 3.4 env: global: - # ANACONDA_TOKEN with api:write + # 1. Generated a token for travis at https://anaconda.org/quantopian/settings/access with scope api:write. + # Can also be done via anaconda CLI with + # $ TOKEN=$(anaconda auth --create --name my_travis_token) + # 2. Generated secure env var below with travis gem via + # $ travis encrypt ANACONDA_TOKEN=$TOKEN + # See https://github.com/travis-ci/travis.rb#installation. + # If authenticating travis gem with github, a github token with the following scopes + # is sufficient: ["read:org", "user:email", "repo_deployment", "repo:status", "write:repo_hook"] + # See https://docs.travis-ci.com/api#external-apis. - secure: "RJJjjQloUjCSkhII93QM+YAsr6YYq7hPFvlbnT07ogn1NeUPsVCyJ97oiZfKtPgdbd24hdQP/CHfB0HgTTES8n996tN3QWc4hZj0e10kFyIlas9qnkrRYRR1jxGShBDXrLdx/tGh8z1qnnCm1fy+fDhAF7Zerouwy4EA2YEzxdE=" matrix: - NUMPY_VERSION=1.11.1 SCIPY_VERSION=0.17.1 diff --git a/appveyor.yml b/appveyor.yml index c4fd97cf..58e54f6b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,7 +8,11 @@ environment: # See: http://stackoverflow.com/a/13751649/163740 CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\ci\\appveyor\\run_with_env.cmd" - # with api:write + # 1. Generated a token for appveyor at https://anaconda.org/quantopian/settings/access with scope api:write. + # Can also be done via anaconda CLI with + # $ anaconda auth --create --name my_appveyor_token + # 2. Generated secure env var below via appveyor's Encrypt data tool at https://ci.appveyor.com/tools/encrypt. + # See https://www.appveyor.com/docs/build-configuration/#secure-variables. ANACONDA_TOKEN: secure: "u3oPlANiKY5g1yMtcK+2MQfb4ViKGEap3TcBtvS7Y1InyeWs80Ko3/PsP7Lp6qwq"