File tree Expand file tree Collapse file tree 2 files changed +43
-11
lines changed Expand file tree Collapse file tree 2 files changed +43
-11
lines changed Original file line number Diff line number Diff line change 9
9
10
10
matrix :
11
11
include :
12
- - php : hhvm
13
- - php : 5.3.3
14
- - php : 5.3
15
- - php : 5.4
16
- - php : 5.5
17
12
- php : 5.6
18
- env : deps=low
19
- - php : 5.6
20
- env : deps=high
21
- - php : nightly
22
13
fast_finish : true
23
14
24
15
services : mongodb
@@ -37,8 +28,8 @@ before_install:
37
28
- if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then (pecl install -f memcached-2.1.0 && echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini) || echo "Let's continue without memcache extension"; fi;
38
29
- if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then php -i; fi;
39
30
# Build a standalone phpunit without symfony/yaml and that works around https://github.com/sebastianbergmann/phpunit-mock-objects/issues/223
40
- - (mkdir phpunit && cd phpunit && wget https://github.com/sebastianbergmann/phpunit/archive/4.7 .zip && unzip 4.7 .zip && cd phpunit-4.7 && composer remove --no-update symfony/yaml && composer require --prefer-source phpunit/phpunit-mock-objects '2.3.0')
41
- - export PHPUNIT="$(readlink -f ./phpunit/phpunit-4.7 /phpunit) --colors=always"
31
+ - (mkdir phpunit && cd phpunit && wget https://github.com/sebastianbergmann/phpunit/archive/4.8 .zip && unzip 4.8 .zip && cd phpunit-4.8 && composer remove --no-update symfony/yaml && composer require --prefer-source phpunit/phpunit-mock-objects '2.3.0')
32
+ - export PHPUNIT="$(readlink -f ./phpunit/phpunit-4.8 /phpunit) --colors=always"
42
33
# Set the COMPOSER_ROOT_VERSION to the right version according to the branch being built
43
34
- if [ "$TRAVIS_BRANCH" = "master" ]; then export COMPOSER_ROOT_VERSION=dev-master; else export COMPOSER_ROOT_VERSION="$TRAVIS_BRANCH".x-dev; fi;
44
35
Original file line number Diff line number Diff line change
1
+ build : false
2
+ shallow_clone : false
3
+ platform : ' x86'
4
+ clone_folder : c:\projects\symfony
5
+
6
+ environment :
7
+ global :
8
+ PHP : C:/PHP
9
+ CYG_ROOT : C:/cygwin
10
+ CYG_CACHE : C:/cygwin/var/cache/setup
11
+ CYG_MIRROR : http://mirrors.kernel.org/sourceware/cygwin/
12
+
13
+ init :
14
+ - SET PATH=C:\php\;%PATH%
15
+
16
+ install :
17
+ - cd c:\
18
+ - ps : Start-FileDownload 'http://ci.cakephp.org/php.zip'
19
+ - 7z x php.zip -oc:\php
20
+ - cd c:\php
21
+ - copy php.ini-production php.ini
22
+ - echo date.timezone="UTC" >> php.ini
23
+ - echo extension_dir=ext >> php.ini
24
+ - echo extension=php_openssl.dll >> php.ini
25
+ - echo extension=php_intl.dll >> php.ini
26
+ - echo extension=php_mbstring.dll >> php.ini
27
+ - echo extension=php_fileinfo.dll >> php.ini
28
+ - php -i
29
+ - ps : Start-FileDownload 'https://getcomposer.org/composer.phar'
30
+ - cd C:\projects\symfony
31
+ - php c:\php\composer.phar install --prefer-dist --no-progress
32
+ - mkdir phpunit
33
+ - cd phpunit
34
+ - ps : Start-FileDownload 'https://github.com/sebastianbergmann/phpunit/archive/4.8.zip'
35
+ - 7z x 4.8.zip
36
+ - cd phpunit-4.8
37
+ - php c:\php\composer.phar remove --no-update symfony/yaml
38
+ - php c:\php\composer.phar install --prefer-dist --no-progress
39
+
40
+ test_script :
41
+ - ' %CYG_ROOT%/bin/bash -lc "cd /cygdrive/c/projects/symfony && find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist -printf %h\\n"'
You can’t perform that action at this time.
0 commit comments