Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit a08367d

Browse files
committed
Update travisCI and azure-pipelines.
NumPy has renamed the master branch to main.
1 parent 6ce31cf commit a08367d

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ env:
22
global:
33
- REPO_DIR=numpy
44
# Also see CRON_COMMIT below
5-
- BUILD_COMMIT=master
5+
- BUILD_COMMIT=main
66
- BUILD_DEPENDS=cython==0.29.21
77
- TEST_DEPENDS="pytest hypothesis cffi pytz"
88
# Commit when running from cron job
9-
- CRON_COMMIT=master
9+
- CRON_COMMIT=main
1010
- EXTRA_ARGV="'--disable-pytest-warnings'"
1111

1212
language: python
@@ -73,13 +73,13 @@ script:
7373
after_success:
7474
# trigger an upload to the shared ecosystem
7575
# infrastructure at: https://anaconda.org/scipy-wheels-nightly
76-
# for cron jobs only (restricted to master branch once
76+
# for cron jobs only (restricted to main branch once
7777
# per week)
7878
# The tokens are set from
7979
# https://travis-ci.org/github/MacPython/numpy-wheels/settings
8080
# originally generated at
8181
# anaconda.org/scipy-wheels-nightly/settings/access
82-
- if [ "$TRAVIS_BRANCH" == "master" ] ; then
82+
- if [ "$TRAVIS_BRANCH" == "main" ] ; then
8383
ANACONDA_ORG="scipy-wheels-nightly";
8484
TOKEN=${NUMPY_NIGHTLY_UPLOAD_TOKEN};
8585
else

azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ schedules:
44
displayName: Weekly build
55
branches:
66
include:
7-
- master
7+
- main
88
always: true
99

1010
pr:
11-
- master
11+
- main
1212

1313
variables:
14-
BUILD_COMMIT: "master"
14+
BUILD_COMMIT: "main"
1515

1616
jobs:
1717
- template: azure/windows.yml

azure/posix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
REPO_DIR: "numpy"
1212
PLAT: "x86_64"
1313
CYTHON_BUILD_DEP: "cython==0.29.21"
14-
NIGHTLY_BUILD_COMMIT: "master"
14+
NIGHTLY_BUILD_COMMIT: "main"
1515
TEST_DEPENDS: "pytest hypothesis cffi pytz"
1616
JUNITXML: "test-data.xml"
1717
TEST_DIR: "tmp_for_test"
@@ -97,7 +97,7 @@ jobs:
9797

9898
- bash: |
9999
set -e
100-
if [ "$BUILD_COMMIT" == "master" ]; then
100+
if [ "$BUILD_COMMIT" == "main" ]; then
101101
ANACONDA_ORG="scipy-wheels-nightly"
102102
TOKEN="$MAPPED_NUMPY_NIGHTLY_UPLOAD_TOKEN"
103103
else

azure/windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
pool:
99
vmImage: ${{ parameters.vmImage }}
1010
variables:
11-
NIGHTLY_BUILD_COMMIT: "master"
11+
NIGHTLY_BUILD_COMMIT: "main"
1212
JUNITXML: "test-data.xml"
1313
TEST_DIR: '$(Agent.WorkFolder)/tmp_for_test'
1414
strategy:
@@ -137,7 +137,7 @@ jobs:
137137

138138
- bash: |
139139
set -e
140-
if [ "$BUILD_COMMIT" == "master" ]; then
140+
if [ "$BUILD_COMMIT" == "main" ]; then
141141
ANACONDA_ORG="scipy-wheels-nightly"
142142
TOKEN="$MAPPED_NUMPY_NIGHTLY_UPLOAD_TOKEN"
143143
else

0 commit comments

Comments
 (0)