Skip to content

Commit

Permalink
Fixing windows builds (Codeception#4849)
Browse files Browse the repository at this point in the history
* Fixing windows builds

* Skip mongodb tests

* Update appveyor.yml

* Update appveyor.yml

* Update .travis.yml

Nor memory limit for composer

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml
  • Loading branch information
DavertMik authored Mar 7, 2018
1 parent e76fb09 commit 72caa14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 33,11 @@ services:
- postgresql
- redis


before_install:
- export INI=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- echo memory_limit = -1 >> $INI

install:
- export SF_VERSION=$(echo $SYMFONY | head -c 1)
- 'pecl install -f mongodb'
Expand Down
7 changes: 1 addition & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 35,7 @@ install:
- net start wuauserv
- IF %PHP%==1 cinst -y php --version 7.1.14
- IF %PHP%==1 cd c:\tools\php71
- IF %PHP%==1 cd ext
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/mongodb/1.2.0/php_mongodb-1.2.0-7.1-nts-vc14-x64.zip
- IF %PHP%==1 7z x php_mongodb-1.2.0-7.1-nts-vc14-x64.zip -y >nul
- IF %PHP%==1 cd ..
- IF %PHP%==1 copy php.ini-production php.ini
- IF %PHP%==1 copy php.ini-production php.ini
- IF %PHP%==1 echo extension_dir=ext >> php.ini
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
- IF %PHP%==1 echo date.timezone="UTC" >> php.ini
Expand All @@ -49,7 45,6 @@ install:
- IF %PHP%==1 echo extension=php_pdo_pgsql.dll >> php.ini
- IF %PHP%==1 echo extension=php_pdo_sqlite.dll >> php.ini
- IF %PHP%==1 echo extension=php_pgsql.dll >> php.ini
- IF %PHP%==1 echo extension=php_mongodb.dll >> php.ini
- SET PATH=C:\tools\php71;%PATH%
- cd %APPVEYOR_BUILD_FOLDER%
- appveyor DownloadFile https://getcomposer.org/composer.phar
Expand Down

0 comments on commit 72caa14

Please sign in to comment.