File tree Expand file tree Collapse file tree 2 files changed +37
-2
lines changed Expand file tree Collapse file tree 2 files changed +37
-2
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ before_install:
37
37
- 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
38
- if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then php -i; fi;
39
39
# 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"
40
+ - (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')
41
+ - export PHPUNIT="$(readlink -f ./phpunit/phpunit-4.8 /phpunit) --colors=always"
42
42
# Set the COMPOSER_ROOT_VERSION to the right version according to the branch being built
43
43
- if [ "$TRAVIS_BRANCH" = "master" ]; then export COMPOSER_ROOT_VERSION=dev-master; else export COMPOSER_ROOT_VERSION="$TRAVIS_BRANCH".x-dev; fi;
44
44
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
+ environment :
6
+ global :
7
+ PHP : " C:/PHP"
8
+ init :
9
+ - SET PATH=C:\php\;%PATH%
10
+ install :
11
+ - cd c:\
12
+ - ps : Start-FileDownload 'http://ci.cakephp.org/php.zip'
13
+ - 7z x php.zip -oc:\php
14
+ - cd c:\php
15
+ - copy php.ini-production php.ini
16
+ - echo date.timezone="UTC" >> php.ini
17
+ - echo extension_dir=ext >> php.ini
18
+ - echo extension=php_openssl.dll >> php.ini
19
+ - echo extension=php_intl.dll >> php.ini
20
+ - echo extension=php_mbstring.dll >> php.ini
21
+ - echo extension=php_fileinfo.dll >> php.ini
22
+ - php -i
23
+ - ps : Start-FileDownload 'https://getcomposer.org/composer.phar'
24
+ - cd C:\projects\symfony
25
+ - php c:\php\composer.phar install --prefer-dist --no-progress
26
+ - mkdir phpunit
27
+ - cd phpunit
28
+ - ps : Start-FileDownload 'https://github.com/sebastianbergmann/phpunit/archive/4.8.zip'
29
+ - 7z x 4.8.zip
30
+ - cd phpunit-4.8
31
+ - php c:\php\composer.phar remove --no-update symfony/yaml
32
+ - php c:\php\composer.phar install --prefer-dist --no-progress
33
+ test_script :
34
+ - cd C:\projects\symfony
35
+ - php phpunit\phpunit-4.8\phpunit
You can’t perform that action at this time.
0 commit comments