forked from movabletype/movabletype
-
Notifications
You must be signed in to change notification settings - Fork 1
/
wercker.yml
66 lines (63 loc) · 1.75 KB
/
wercker.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
box: masiuchi/docker-mt-test:trusty-full
build:
steps:
- script:
name: Remove skip test
code: |
rm t/34-sqlite.t
rm t/90-podcoverage.t
rm plugins/MultiBlog/t/02.tags.t
- script:
name: Install CPAN modules
code: |
cpm install -g --test --cpanfile=t/cpanfile
- script:
name: Start mysql and memcached
code: |
find /var/lib/mysql -type f | xargs touch
service mysql start
service memcached start
- script:
name: Copy config file
code: |
cp t/mysql-test.cfg mt-config.cgi
- script:
name: Use JSON::PP
code: |
export PERL_JSON_BACKEND=JSON::PP
- script:
name: Run test 110-cms-permission (1)
code: |
prove t/110-cms-permission-[abcdefghijklmno]*.t
- script:
name: Run test 110-cms-permission (2)
code: |
prove t/110-cms-permission-[^abcdefghijklmno]*.t
- script:
name: Run test 1?? without 110-cms-permission
code: |
prove t/110-commercial-permission-cms.t t/110-community-pemission.t t/110-enterprise-permission.t t/11[^0]-*.t t/1[^1]?-*.t
- script:
name: Run test 200-249
code: |
prove t/2[01234]?-*.t
- script:
name: Run test 250-299, 300-399
code: |
prove t/2[^01234]?-*.t t/3??-*.t
- script:
name: Run test 00-39
code: |
prove t/[0-3]?-*.t
- script:
name: Run test 40-99 and others
code: |
prove t/[4-9]?-*.t t/[^0-9]*.t
- script:
name: Run plugins test
code: |
prove plugins/*/t
- script:
name: Run PHP test
code: |
phpunit