Skip to content

Commit fbab95d

Browse files
authored
Merge pull request #1456 from inclement/python3_testapp_travis
Added python3 testapp build to Travis matrix
2 parents 134c5c0 + 8930e78 commit fbab95d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ env:
1919
- ANDROID_NDK_HOME=/opt/android/android-ndk
2020
- CRYSTAX_NDK_HOME=/opt/android/crystax-ndk
2121
matrix:
22+
- COMMAND='. venv/bin/activate && cd testapps/ && python setup_testapp_python3.py apk --sdk-dir $ANDROID_SDK_HOME --ndk-dir $ANDROID_NDK_HOME --requirements sdl2,pyjnius,kivy,python3'
2223
# overrides requirements to skip `peewee` pure python module, see:
2324
# https://github.com/kivy/python-for-android/issues/1263#issuecomment-390421054
2425
- COMMAND='. venv/bin/activate && cd testapps/ && python setup_testapp_python2_sqlite_openssl.py apk --sdk-dir $ANDROID_SDK_HOME --ndk-dir $ANDROID_NDK_HOME --requirements sdl2,pyjnius,kivy,python2,openssl,requests,sqlite3,setuptools'

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ RUN apt update -qq && apt install -qq --yes --no-install-recommends \
4444
RUN dpkg --add-architecture i386 && apt update -qq && apt install -qq --yes --no-install-recommends \
4545
build-essential ccache git libncurses5:i386 libstdc++6:i386 libgtk2.0-0:i386 \
4646
libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libidn11:i386 python2.7 python2.7-dev \
47-
openjdk-8-jdk unzip zlib1g-dev zlib1g:i386
47+
openjdk-8-jdk zip unzip zlib1g-dev zlib1g:i386
4848

4949
# specific recipes dependencies (e.g. libffi requires autoreconf binary)
5050
RUN apt install -qq --yes --no-install-recommends \
@@ -93,7 +93,7 @@ RUN useradd --create-home --shell /bin/bash ${USER}
9393
# with sudo access and no password
9494
RUN usermod -append --groups sudo ${USER}
9595
RUN echo "%sudo ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
96-
RUN pip install --quiet --upgrade Cython==0.28.6
96+
RUN pip install --quiet --upgrade cython==0.28.6
9797
WORKDIR ${WORK_DIR}
9898
COPY . ${WORK_DIR}
9999
# user needs ownership/write access to these directories

0 commit comments

Comments
 (0)