This repository was archived by the owner on Apr 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 4949 - MB_PYTHON_VERSION=3.9
5050 - NP_BUILD_DEP=1.16
5151 - NP_TEST_DEP=1.16
52+ - os : linux
53+ arch : arm64
54+ env :
55+ - MB_PYTHON_VERSION=3.7
56+ - NP_BUILD_DEP=1.19
57+ - NP_TEST_DEP=1.19
58+ - PLAT=aarch64
59+ - MB_ML_VER=2014
60+ - DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
61+ - os : linux
62+ arch : arm64
63+ env :
64+ - MB_PYTHON_VERSION=3.8
65+ - NP_BUILD_DEP=1.19
66+ - NP_TEST_DEP=1.19
67+ - PLAT=aarch64
68+ - MB_ML_VER=2014
69+ - DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
5270 - os : osx
5371 language : generic
5472 env :
@@ -91,7 +109,13 @@ install:
91109 - python rm_test_images.py wheelhouse/*.whl
92110
93111script :
94- - TEST_DEPENDS="numpy==$NP_TEST_DEP sphinx pytest pytest-timeout pytest-xdist pytest-faulthandler pytest-rerunfailures requests[security]"
112+ # See:
113+ # https://github.com/matthew-brett/multibuild/issues/346
114+ - if [[ "${TRAVIS_CPU_ARCH}" == "arm64" ]]; then
115+ TEST_DEPENDS="numpy==$NP_TEST_DEP sphinx pytest pytest-timeout pytest-xdist pytest-faulthandler pytest-rerunfailures";
116+ else
117+ TEST_DEPENDS="numpy==$NP_TEST_DEP sphinx pytest pytest-timeout pytest-xdist pytest-faulthandler pytest-rerunfailures requests[security]";
118+ fi
95119 # increase number of open files allowed for tests, on OSX
96120 # https://github.com/matplotlib/matplotlib/issues/3315
97121 - ulimit -n 4096
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ function run_tests {
5656
5757 if [ -z " $IS_OSX " ]; then
5858 # Need fc-list for tests
59- sudo apt-get install fontconfig
59+ apt-get install fontconfig
6060 fi
6161
6262 echo " sanity checks"
You can’t perform that action at this time.
0 commit comments