Thanks to visit codestin.com
Credit goes to github.com

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

Commit 522242b

Browse files
committed
Merge branch 'daily'
* daily: Fix for appveyor file More refactoring to make daily==master Another shot at daily==master refactor Fix syntax of else Try refactor to detect cron jobs Pin apache-libcloud to debug wheelhouse upload Trigger build with JT's fix
2 parents 5e68f71 + 8e0a940 commit 522242b

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

.travis.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ env:
77
- TEST_DEPENDS=nose
88
- PLAT=x86_64
99
- UNICODE_WIDTH=32
10-
- MANYLINUX_URL=https://nipy.bic.berkeley.edu/manylinux
1110
- WHEELHOUSE_UPLOADER_USERNAME=travis-worker
1211
# Following generated with
1312
# travis encrypt -r MacPython/numpy-wheels WHEELHOUSE_UPLOADER_SECRET=<the api key>
1413
- secure:
1514
"FEFwGNflXOjuNjv4f2oOq0m8I3b6OvG5AVV/tH9Fsr6jtPNwQOx7PMOVzISBrWfAueeFubz/IapXBeDP8fRio9RVOcEHBhVJQYeJ46VubOx4X/4pRUD7ehGLxjYK30BGVdNh7z/tL6Xr5+iCuxxmOBgirG0pQVeBZXDchPJaUK0="
16-
# Daily commit, if present, overrides BUILD_COMMIT
17-
# - DAILY_COMMIT=master
15+
# Commit when running from daily branch
16+
- DAILY_COMMIT=master
1817

1918
language: python
2019
# Default Python version is usually 2.7
@@ -86,12 +85,13 @@ matrix:
8685
- MB_PYTHON_VERSION=3.6
8786

8887
before_install:
89-
- if [ -z "$DAILY_COMMIT" ]; then
88+
- if ["$TRAVIS_BRANCH" == "daily" ]; then
89+
CONTAINER="pre-release";
90+
BUILD_COMMIT=${DAILY_COMMIT:-$BUILD_COMMIT};
91+
NPY_RELAXED_STRIDES_DEBUG=1;
92+
else
9093
CONTAINER=wheels;
9194
UPLOAD_ARGS="--no-update-index";
92-
else
93-
CONTAINER="pre-release";
94-
BUILD_COMMIT=$DAILY_COMMIT;
9595
fi
9696
- source multibuild/common_utils.sh
9797
- source multibuild/travis_steps.sh
@@ -110,6 +110,5 @@ after_success:
110110
- pip install wheelhouse-uploader
111111
- python -m wheelhouse_uploader upload --local-folder
112112
${TRAVIS_BUILD_DIR}/wheelhouse/
113-
--no-update-index
114113
$UPLOAD_ARGS
115114
$CONTAINER

appveyor.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ environment:
1212
WHEELHOUSE_UPLOADER_SECRET:
1313
secure:
1414
9s0gdDGnNnTt7hvyNpn0/ZzOMGPdwPp2SewFTfGzYk7uI+rdAN9rFq2D1gAP4NQh
15+
DAILY_COMMIT: master
1516

1617
matrix:
1718

@@ -48,6 +49,15 @@ environment:
4849
PYTHON_ARCH: "64"
4950

5051
install:
52+
- ps: >-
53+
if ($env:APPVEYOR_REPO_BRANCH -eq "daily") {
54+
$env:CONTAINER = "pre-release"
55+
if ($env:DAILY_COMMIT) { $env:BUILD_COMMIT = $env:DAILY_COMMIT }
56+
$env:NPY_RELAXED_STRIDES_DEBUG = 1
57+
} else {
58+
$env:CONTAINER = "wheels"
59+
$env:UPLOAD_ARGS = "--no-update-index"
60+
}
5161
- cmd: echo "Filesystem root:"
5262
- dir C:\
5363

@@ -106,5 +116,6 @@ on_success:
106116
# disable the ssl checks.
107117
- pip install wheelhouse-uploader
108118
- python -m wheelhouse_uploader upload
109-
--no-ssl-check --local-folder=dist --no-update-index
110-
wheels
119+
--no-ssl-check --local-folder=dist
120+
%UPLOAD_ARGS%
121+
%CONTAINER%

0 commit comments

Comments
 (0)