File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : php
2
+
3
+ dist : trusty
4
+
5
+ env :
6
+ global :
7
+ - COMPOSER_ROOT_VERSION=4.0.x-dev
8
+
9
+ matrix :
10
+ include :
11
+ - php : 7.1
12
+ env : DB=MYSQL PHPUNIT_TEST=1
13
+ - php : 7.2
14
+ env : DB=MYSQL PHPUNIT_TEST=1
15
+
16
+ before_script :
17
+ # Init PHP
18
+ - phpenv rehash
19
+ - phpenv config-rm xdebug.ini
20
+
21
+ # Install composer dependencies
22
+ - composer validate
23
+ - composer require --no-update silverstripe/recipe-core:1.0.x-dev
24
+ - if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.0.x-dev; fi
25
+ - composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
26
+
27
+ script :
28
+ - if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi
29
+ - if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi
30
+ - if [[ $PHPCS_TEST ]]; then vendor/bin/phpcs --standard=vendor/silverstripe/framework/phpcs.xml.dist src/ tests/; fi
You can’t perform that action at this time.
0 commit comments