This repository was archived by the owner on Apr 16, 2021. It is now read-only.
File tree 1 file changed +13
-3
lines changed
1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 1
1
env :
2
2
global :
3
3
- REPO_DIR=matplotlib
4
+ # Also see DAILY_COMMIT below
4
5
- BUILD_COMMIT=v2.0.0
5
6
# These variables filled in further below
6
7
- BUILD_DEPENDS=
15
16
# travis encrypt -r MacPython/matplotlib-wheels WHEELHOUSE_UPLOADER_SECRET=<the api key>
16
17
- secure :
17
18
" hKf07zeIRvEMH9qWUkkmFHu768HZdI+EOCO99KjsAjbwa7QdUSwZ9XZKCcyNiym5iyrIBWHywyEtO0wk/LsTxhNZGZQP0nJbyTSSy4VGMQmpIx1sVmDKtrykVJaxCfXqpYYDttBTC4TyvxW/3LyuqBfbU14R4uoSFY/mK+QIJ0A="
19
+ # Daily commit, if present, overrides BUILD_COMMIT
20
+ # - DAILY_COMMIT=master
18
21
19
22
language : python
20
23
# Default Python version is usually 2.7
@@ -95,6 +98,13 @@ matrix:
95
98
- NP_TEST_DEP="1.11.3"
96
99
97
100
before_install :
101
+ - if [ -z "$DAILY_COMMIT" ]; then
102
+ CONTAINER=wheels;
103
+ UPLOAD_ARGS="--no-update-index";
104
+ else
105
+ CONTAINER="pre-release";
106
+ BUILD_COMMIT=$DAILY_COMMIT;
107
+ fi
98
108
- BUILD_DEPENDS="numpy==$NP_BUILD_DEP"
99
109
- source multibuild/common_utils.sh
100
110
- source multibuild/travis_steps.sh
@@ -115,10 +125,10 @@ script:
115
125
- ulimit -n 4096
116
126
- install_run $PLAT
117
127
118
- # after_success:
128
+ after_success :
119
129
# Upload wheels to Rackspace container
120
130
- pip install wheelhouse-uploader
121
131
- python -m wheelhouse_uploader upload --local-folder
122
132
${TRAVIS_BUILD_DIR}/wheelhouse/
123
- --no-update-index
124
- wheels
133
+ $UPLOAD_ARGS
134
+ $CONTAINER
You can’t perform that action at this time.
0 commit comments