File tree Expand file tree Collapse file tree 3 files changed +7
-13
lines changed
pythonforandroid/recipes/opencv Expand file tree Collapse file tree 3 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -35,5 +35,10 @@ before_script:
3535 # (we ignore test_pythonpackage.py since these run way too long!! test_pythonpackage_basic.py will still be run.)
3636
3737script :
38+ # Run a background process to make sure that travis will not kill our tests in
39+ # case that the travis log doesn't produce any output for more than 10 minutes
40+ - while sleep 540; do echo "==== Still running (travis, don't kill me) ===="; done &
3841 - docker build --tag=p4a --file Dockerfile.py3 .
3942 - docker run -e CI p4a /bin/sh -c "$COMMAND"
43+ # kill the background process started before run docker
44+ - kill %1
Original file line number Diff line number Diff line change @@ -39,10 +39,6 @@ class TargetPython(Enum):
3939 'x3dh' ,
4040 'pynacl' ,
4141 'doubleratchet' ,
42- # The opencv recipe fails to pass travis tests due to the long processing
43- # when building it and the lack of console output, so, it's only broken
44- # for travis, see: https://github.com/kivy/python-for-android/pull/1661
45- 'opencv' ,
4642 'omemo' ,
4743 # requires `libpq-dev` system dependency e.g. for `pg_config` binary
4844 'psycopg2' ,
@@ -72,11 +68,6 @@ class TargetPython(Enum):
7268 'secp256k1' ,
7369 'ffpyplayer' ,
7470 'icu' ,
75- # https://github.com/kivy/python-for-android/issues/1354
76- # The opencv recipe fails to pass travis tests due to the long processing
77- # when building it and the lack of console output, so, it's only broken
78- # for travis, see: https://github.com/kivy/python-for-android/pull/1661
79- 'opencv' ,
8071 # requires `libpq-dev` system dependency e.g. for `pg_config` binary
8172 'psycopg2' ,
8273 'protobuf_cpp' ,
Original file line number Diff line number Diff line change 11from os .path import join
22import sh
33from pythonforandroid .recipe import NDKRecipe
4- from pythonforandroid .toolchain import (
5- current_directory ,
6- shprint ,
7- )
4+ from pythonforandroid .util import current_directory
5+ from pythonforandroid .logger import shprint
86from multiprocessing import cpu_count
97
108
You can’t perform that action at this time.
0 commit comments