FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
MacPython_MatPlotLIB-Wheels/.travis.yml at master · seanpm2001/MacPython_MatPlotLIB-Wheels · GitHub
seanpm2001
MacPython_MatPlotLIB-Wheels
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
MacPython_MatPlotLIB-Wheels
/
.travis.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
141 lines (135 loc) · 4.49 KB
Breadcrumbs
MacPython_MatPlotLIB-Wheels
/
.travis.yml
Copy path
File metadata and controls
141 lines (135 loc) · 4.49 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
env
:
global
:
-
REPO_DIR=matplotlib
#
Also see DAILY_COMMIT below
-
BUILD_COMMIT=v3.2.1
#
These variables filled in further below
-
BUILD_DEPENDS=
-
TEST_DEPENDS=
-
PLAT=x86_64
-
UNICODE_WIDTH=32
-
NP_BUILD_DEP=1.16
-
NP_TEST_DEP=1.16
-
MANYLINUX_URL=https://5cf40426d9f06eb7461d-6fe47d9331aba7cd62fc36c7196769e4.ssl.cf2.rackcdn.com
-
WHEELHOUSE_UPLOADER_USERNAME=travis-worker
#
Following generated with
#
travis encrypt -r MacPython/matplotlib-wheels \
#
WHEELHOUSE_UPLOADER_SECRET=<the api key>
-
secure
:
"
hKf07zeIRvEMH9qWUkkmFHu768HZdI+EOCO99KjsAjbwa7QdUSwZ9XZKCcyNiym5iyrIBWHywyEtO0wk/LsTxhNZGZQP0nJbyTSSy4VGMQmpIx1sVmDKtrykVJaxCfXqpYYDttBTC4TyvxW/3LyuqBfbU14R4uoSFY/mK+QIJ0A=
"
#
Matplotlib commit when running from master branch
-
DAILY_COMMIT=master
language
:
python
#
Default Python version is usually 2.7
python
:
3.7
dist
:
bionic
services
:
docker
jobs
:
include
:
-
os
:
linux
env
:
-
MB_PYTHON_VERSION=3.7
-
NP_BUILD_DEP=1.16
-
NP_TEST_DEP=1.16
-
os
:
linux
env
:
-
MB_PYTHON_VERSION=3.7
-
NP_BUILD_DEP=1.16
-
NP_TEST_DEP=1.16
-
PLAT=i686
-
os
:
linux
env
:
-
MB_PYTHON_VERSION=3.8
-
NP_BUILD_DEP=1.16
-
NP_TEST_DEP=1.16
-
os
:
linux
env
:
-
MB_PYTHON_VERSION=3.9
-
NP_BUILD_DEP=1.16
-
NP_TEST_DEP=1.16
-
os
:
linux
arch
:
arm64
env
:
-
MB_PYTHON_VERSION=3.7
-
NP_BUILD_DEP=1.19
-
NP_TEST_DEP=1.19
-
PLAT=aarch64
-
MB_ML_VER=2014
-
DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
-
os
:
linux
arch
:
arm64
env
:
-
MB_PYTHON_VERSION=3.8
-
NP_BUILD_DEP=1.19
-
NP_TEST_DEP=1.19
-
PLAT=aarch64
-
MB_ML_VER=2014
-
DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
-
os
:
osx
language
:
generic
env
:
-
MB_PYTHON_VERSION=3.7
-
MB_PYTHON_OSX_VER=10.9
-
NP_BUILD_DEP=1.16
-
NP_TEST_DEP=1.16
-
os
:
osx
language
:
generic
env
:
-
MB_PYTHON_VERSION=3.8
-
MB_PYTHON_OSX_VER=10.9
-
NP_BUILD_DEP=1.16
-
NP_TEST_DEP=1.16
-
MB_PYTHON_OSX_VER=10.9
-
MB_ML_VER=2010
before_install
:
#
See:
#
https://github.com/travis-ci/travis-ci/issues/8920#issuecomment-352661024
-
python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
-
if [ "$TRAVIS_BRANCH" == "master" ]; then
CONTAINER="pre-release";
BUILD_COMMIT=${DAILY_COMMIT:-$BUILD_COMMIT};
else
CONTAINER=wheels;
UPLOAD_ARGS="--no-update-index";
fi
-
BUILD_DEPENDS="numpy==$NP_BUILD_DEP"
-
source multibuild/common_utils.sh
-
source multibuild/travis_steps.sh
-
before_install
install
:
#
Maybe get and clean and patch source
-
clean_code $REPO_DIR $BUILD_COMMIT
-
build_wheel $REPO_DIR $PLAT
#
Remove test images
-
pip install delocate
-
python rm_test_images.py wheelhouse/*.whl
script
:
-
TEST_DEPENDS="numpy==$NP_TEST_DEP sphinx pytest pytest-timeout pytest-xdist pytest-faulthandler pytest-rerunfailures requests[security]"
#
increase number of open files allowed for tests, on OSX
#
https://github.com/matplotlib/matplotlib/issues/3315
-
ulimit -n 4096
-
install_run $PLAT
after_success
:
#
trigger an upload to the shared ecosystem
#
infrastructure at: https://anaconda.org/scipy-wheels-nightly
#
for cron jobs only (restricted to master branch once
#
per week)
#
MATPLOTLIB_WHEELS_NIGHTLY is a secret token
#
used in Travis CI config, originally
#
generated at anaconda.org for scipy-wheels-nightly
-
if [ "$TRAVIS_EVENT_TYPE" == "cron" ]; then
source extra_functions.sh
for f in wheelhouse/*.whl; do rename_wheel $f; done;
ANACONDA_ORG="scipy-wheels-nightly"
pip install git+https://github.com/Anaconda-Server/anaconda-client;
anaconda -t ${SCIPY_WHEELS_NIGHTLY_ACCESS} upload --force -u ${ANACONDA_ORG} ${TRAVIS_BUILD_DIR}/wheelhouse/*.whl;
fi
#
for merges (push events) we use the staging area instead;
#
MATPLOTLIB_STAGING_UPLOAD_TOKEN is a secret token used in Travis
#
CI config, originally generated at anaconda.org for
#
multibuild-wheels-staging
-
if [ "$TRAVIS_EVENT_TYPE" == "push" ]; then
ANACONDA_ORG="multibuild-wheels-staging"
pip install git+https://github.com/Anaconda-Server/anaconda-client;
anaconda -t ${MULTIBUILD_WHEELS_STAGING_ACCESS} upload --force -u ${ANACONDA_ORG} ${TRAVIS_BUILD_DIR}/wheelhouse/*.whl;
fi
Back
|
FazBrowse Home
|
New Git URL