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:
35
35
# (we ignore test_pythonpackage.py since these run way too long!! test_pythonpackage_basic.py will still be run.)
36
36
37
37
script :
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 &
38
41
- docker build --tag=p4a --file Dockerfile.py3 .
39
42
- 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):
39
39
'x3dh' ,
40
40
'pynacl' ,
41
41
'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' ,
46
42
'omemo' ,
47
43
# requires `libpq-dev` system dependency e.g. for `pg_config` binary
48
44
'psycopg2' ,
@@ -72,11 +68,6 @@ class TargetPython(Enum):
72
68
'secp256k1' ,
73
69
'ffpyplayer' ,
74
70
'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' ,
80
71
# requires `libpq-dev` system dependency e.g. for `pg_config` binary
81
72
'psycopg2' ,
82
73
'protobuf_cpp' ,
Original file line number Diff line number Diff line change 1
1
from os .path import join
2
2
import sh
3
3
from 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
8
6
from multiprocessing import cpu_count
9
7
10
8
You can’t perform that action at this time.
0 commit comments