-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
46 lines (39 loc) · 1.62 KB
/
.travis.yml
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
language: sh
sudo: required
addons:
apt:
packages: busybox
env:
- TEST_ENV=test-env
- TEST_ENV=test-env2
before_install:
- sudo cp -R $TEST_ENV/ebrmain /
- sudo mkdir -p /mnt/ext1
- sudo mount --bind $TEST_ENV/mnt/ext1 /mnt/ext1
- cp -R test-env/tmp/* /tmp
install:
- mkdir -p /mnt/ext1/applications
- mv Setup-openwith.app /mnt/ext1/applications/
script:
- busybox sh -x /mnt/ext1/applications/Setup-openwith.app
- test "-e ! /mnt/ext1/applications/Setup-openwith.app"
- test -s /mnt/ext1/system/config/settings/personalize.json
- test -s /mnt/ext1/system/config/settings/openwith.json
- test -s /mnt/ext1/system/bin/openwith_apply.app
- test -s /mnt/ext1/system/bin/openwith_clear.app
- test -s /mnt/ext1/system/bin/openwith_remove.app
- test -s /mnt/ext1/system/bin/openwith_fb2.app
- busybox sh -x /mnt/ext1/system/bin/openwith_apply.app
- busybox sh -x /mnt/ext1/system/bin/openwith_clear.app
- busybox sh -x /mnt/ext1/system/bin/openwith_fb2.app
- busybox sh -x /mnt/ext1/system/bin/openwith_remove.app
- test "-e ! /mnt/ext1/system/config/settings/personalize.json"
- test "-e ! /mnt/ext1/system/config/settings/openwith.json"
- test "-e ! /mnt/ext1/system/config/settings/openwith.cfg"
- test "-e ! /mnt/ext1/system/bin/openwith_apply.app"
- test "-e ! /mnt/ext1/system/bin/openwith_clear.app"
- test "-e ! /mnt/ext1/system/bin/openwith_remove.app"
- test "-e ! /mnt/ext1/system/bin/openwith_fb2.app"
- test "-e ! /mnt/ext1/system/themes/OpenWith.pbt"
- test "-e ! /mnt/ext1/system/themes/Line-OpenWith(default).pbt"
- test "-e ! /mnt/ext1/system/themes/Line-OpenWith(cr3).pbt"