8000 CI Use Travis secret tokens to upload the ARM64 wheels (#19017) · scikit-learn/scikit-learn@3e73679 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e73679

Browse files
authored
CI Use Travis secret tokens to upload the ARM64 wheels (#19017)
1 parent afbd4b3 commit 3e73679

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ env:
2727
OPENBLAS_NUM_THREADS=2
2828
SKLEARN_BUILD_PARALLEL=8
2929
SKLEARN_SKIP_NETWORK_TESTS=1"
30-
# Nightly upload token and staging upload token are set in Travis settings
31-
- SCIKIT_LEARN_NIGHTLY_UPLOAD_TOKEN=__token__
32-
- SCIKIT_LEARN_STAGING_UPLOAD_TOKEN=__token__
3330

3431
jobs:
3532
include:

build_tools/travis/after_success.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ set -e
88

99
# The wheels cannot be uploaded on PRs
1010
if [[ $BUILD_WHEEL == true && $TRAVIS_EVENT_TYPE != pull_request ]]; then
11-
if [ $TRAVIS_EVENT_TYPE == cron ]; then
11+
# Nightly upload token and staging upload token are set in
12+
# Travis settings (originally generated at Anaconda cloud)
13+
if [[ $TRAVIS_EVENT_TYPE == cron ]]; then
1214
ANACONDA_ORG="scipy-wheels-nightly"
1315
ANACONDA_TOKEN="$SCIKIT_LEARN_NIGHTLY_UPLOAD_TOKEN"
1416
else

0 commit comments

Comments
 (0)
0