File tree 4 files changed +23
-12
lines changed
4 files changed +23
-12
lines changed Original file line number Diff line number Diff line change @@ -2,25 +2,26 @@ sudo: false
2
2
3
3
language : php
4
4
5
+ branches :
6
+ only :
7
+ - master
8
+ - /^1\.\d+$/
9
+
5
10
php :
6
11
- 5.5
7
12
- 5.6
8
13
- 7.0
9
14
10
- env :
11
- - SYMFONY_VERSION=2.7.*
12
-
13
15
cache :
14
16
directories :
15
- - $HOME/.composer/cache/files
17
+ - $HOME/.composer/cache/
16
18
17
19
before_script :
18
20
- phpenv config-rm xdebug.ini
19
- - composer self-update
20
21
- phpenv config-add travis.php.ini
21
- - travis_wait composer require symfony/symfony:${SYMFONY_VERSION} --prefer-source -- update-no-dev
22
- - travis_wait composer require squizlabs/php_codesniffer:2.3.3 --prefer-source --update-no-dev
22
+ - composer self- update
23
+ - composer install
23
24
24
- script :
25
- - phpunit
25
+ script :
26
+ - ./vendor/bin/ phpunit --verbose --testsuite=unit
26
27
- ./vendor/bin/phpcs ./src -p --encoding=utf-8 --extensions=php --standard=psr2
Original file line number Diff line number Diff line change 16
16
}
17
17
},
18
18
"repositories" : [
19
+ {
20
+ "type" : " git" ,
21
+ "url" : " https://github.com/orocrm/TranslationFormBundle.git"
22
+ },
19
23
{
20
24
"type" : " composer" ,
21
25
"url" : " https://packagist.orocrm.com"
27
31
"oro/crm-task-bundle" : " 1.0.*" ,
28
32
"oro/crm-call-bundle" : " 1.0.*"
29
33
},
34
+ "require-dev" : {
35
+ "squizlabs/php_codesniffer" : " 2.3.*" ,
36
+ "phpunit/phpunit" : " 4.8.*"
37
+ },
30
38
"minimum-stability" : " dev" ,
31
39
"prefer-stable" : true ,
32
40
"extra" : {
Original file line number Diff line number Diff line change 14
14
bootstrap = " vendor/autoload.php" >
15
15
16
16
<testsuites >
17
- <testsuite name =" Project Unit Tests" >
18
- <directory suffix =" Test.php" >src/OroCRM/Bundle/*Bundle/Tests/Unit</directory >
17
+ <testsuite name =" unit" >
18
+ <directory suffix =" Test.php" >src/*/Bundle/*Bundle/Tests/Unit</directory >
19
+ <directory suffix =" Test.php" >src/*/Component/*/Tests/Unit</directory >
20
+ <directory suffix =" Test.php" >src/*/*/Tests/Unit</directory >
19
21
</testsuite >
20
22
</testsuites >
21
23
Original file line number Diff line number Diff line change 1
- memory_limit = 2G
1
+ memory_limit = 3G
You can’t perform that action at this time.
0 commit comments