Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Commit 96d1763

Browse files
committed
Added arm64 jobs for Travis-CI
Signed-off-by: odidev <odidev@puresoftware.com>
1 parent 8f9f9c2 commit 96d1763

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.travis.yml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,24 @@ jobs:
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

93111
script:
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

config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)