File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
2
python :
3
3
- " 2.7"
4
- node_js : 10
5
4
before_install :
6
5
- pip install -U pip
7
6
install :
8
- - printenv
9
- - sudo apt-get update
10
- - sudo apt-get install tesseract-ocr
11
- - sudo apt-get install libtesseract-dev
12
7
- python -m pip install --upgrade pip
13
8
- pip install --upgrade -r requirements.txt
14
9
script :
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ def test_03_get_main_color(self):
35
35
actual_color = ImageUtils .get_main_color (image_path = self .app_image )
36
36
assert (actual_color == self .white ).all (), 'Main color is wrong. It should be white.'
37
37
38
+ @unittest .skipIf (os .environ .get ('TRAVIS' , None ) is not None , 'Skip on Travis.' )
38
39
def test_04_get_text (self ):
39
40
# OCR on Hello-World app
40
41
text = ImageUtils .get_text (self .app_image )
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ def test_20_run_long_living_process(self):
76
76
assert 'test' in File .read (result .log_file ), 'Log file should contains output of the command.'
77
77
78
78
@timed (30 )
79
+ @unittest .skipIf (os .environ .get ('TRAVIS' , None ) is not None , 'Skip on Travis.' )
79
80
def test_40_run_npm_pack (self ):
80
81
package = 'tns-core-modules'
81
82
version = '5.0.0'
You can’t perform that action at this time.
0 commit comments