forked from yan12125/python3-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
50 lines (42 loc) · 1.28 KB
/
Copy path.travis.yml
File metadata and controls
50 lines (42 loc) · 1.28 KB
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
language: generic
os:
- osx
# https://github.com/travis-ci/cpython-builder/pull/3 should be resolved for better Python support on macOS
osx_image: xcode10
sudo: false
branches:
only:
- master
- /^test-.*$/
env:
global:
- PYTHON=python3.8
- PYBUILD_SRC=$HOME/pybuild-src
matrix:
- ANDROID_PLATFORM=arm ANDROID_API_LEVEL=21
- ANDROID_PLATFORM=arm64 ANDROID_API_LEVEL=21
- ANDROID_PLATFORM=x86 ANDROID_API_LEVEL=21
- ANDROID_PLATFORM=x86_64 ANDROID_API_LEVEL=21
- ANDROID_PLATFORM=arm ANDROID_API_LEVEL=27
- ANDROID_PLATFORM=arm64 ANDROID_API_LEVEL=27
- ANDROID_PLATFORM=x86 ANDROID_API_LEVEL=27
- ANDROID_PLATFORM=x86_64 ANDROID_API_LEVEL=27
install:
- |
curl -LO https://raw.githubusercontent.com/GiovanniBussi/macports-ci/master/macports-ci
source ./macports-ci install
- PATH="/opt/local/libexec/gnubin:/opt/local/bin:$PATH"
- |
sudo port -Nb install python38-devel curl-ca-bundle gnutar gsed gmake
$PYTHON -m ensurepip --user
$PYTHON -m pip install --user python-gnupg
- |
pushd $HOME
"$TRAVIS_BUILD_DIR/devscripts/prepare-ndk.sh"
popd
- export ANDROID_NDK=$HOME/android-ndk
- "$TRAVIS_BUILD_DIR/devscripts/import_pgp_keys.sh"
script:
- $PYTHON -m pybuild.clean
- make
- make test