forked from symbiote/silverstripe-multisites
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (40 loc) · 1.26 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
language: php
php:
- 5.3
env:
matrix:
- DB=MYSQL CORE_RELEASE=3.2
matrix:
include:
- php: 5.3
env: DB=MYSQL CORE_RELEASE=3.2
- php: 5.4
env: DB=MYSQL CORE_RELEASE=3.2
- php: 5.5
env: DB=MYSQL CORE_RELEASE=3.3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.2
before_script:
- phpenv rehash
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
script:
- vendor/bin/phpunit multisites/tests/
# Check multisites/tests/cms for custom overrides
- rm cms/tests/controller/CMSMainTest.php
- rm cms/tests/controller/CMSSiteTreeFilterTest.php
- rm cms/tests/controller/CMSBatchActionsTest.php
- rm cms/tests/model/SiteTreeTest.php
- rm cms/tests/model/VirtualPageTest.php
- rm cms/tests/model/SiteTreeBacklinksTest.php
- rm cms/tests/model/SiteTreePermissionsTest.php
- rm cms/tests/controller/ContentControllerTest.php
- rm cms/tests/controller/ModelAsControllerTest.php
- rm cms/tests/controller/ContentControllerPermissionsTest.php
# Run CMS tests
- vendor/bin/phpunit cms/tests/ '' flush=all