Dmitry Naumenko
64d8af61a6
Fixes for PHP 7.2 compatibility ( #14959 )
7 years ago
Carsten Brandt
84afc663fa
add PHP 7.2 to travis as master is now 7.3
...
https://twitter.com/WyriHaximus/status/898424184212148224
7 years ago
Robert Korulczyk
462b5f5b50
Use new trusty images on travis ( #14508 )
...
This should fix "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'" errors.
7 years ago
Alexander Makarov
74068eb053
Removed cs fixer from Travis
7 years ago
Robert Korulczyk
ba0ab403b5
Added php-cs-fixer coding standards validation to Travis CI ( #14100 )
...
* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues.
7 years ago
SilverFire - Dmitry Naumenko
f62b53f475
Switched ocular to use PHP 7.1 execution results
8 years ago
SilverFire - Dmitry Naumenko
9e1063e104
Enable xdebug for coverage on 7.1 insted of 5.6 as it should work faster
8 years ago
SilverFire - Dmitry Naumenko
d3f97f7e64
Switched to asset-packagist
8 years ago
Alexander Makarov
c35ddec09a
Update composer fxp plugin version in docs and travis scripts
8 years ago
Carsten Brandt
e66722aa43
Update .travis.yml
...
allow building on all branches.
/cc @Silverfire
8 years ago
Carsten Brandt
38e97c0fa7
Update .travis.yml
8 years ago
Carsten Brandt
5fb3368506
Update .travis.yml
8 years ago
Carsten Brandt
b26fad7258
travis_retry for mysql
...
maybe the server is not yet up at this point?
https://github.com/yiisoft/yii2/issues/13284
8 years ago
SilverFire - Dmitry Naumenko
bd87be990f
Updated travis config to build only on master branches
...
Closes #13345
8 years ago
Carsten Brandt
f757bdfa81
added mysql service explicitly to travis-ci
...
this might fix #13284
/cc @arogachev
8 years ago
Carsten Brandt
17c272501a
added UTF8 BOM check to travis.yml
...
issue #13296
8 years ago
Alexey Rogachev
d2bafcc2a1
Fixed comments in travis.yml [skip ci]
8 years ago
Walt Sorensen
e1ba289978
Speed up hhvm unit tests - disable jit ( #13189 )
...
Turn off the hhvm JIT to speed up the hhvm unit tests.
Source: facebook/hhvm#6979
8 years ago
Alexey Rogachev
2b29a779c8
Use composer install instead of composer update in Travis ( #12947 )
8 years ago
Robert Korulczyk
2a68351ec3
Fix tests on travis. ( #13238 )
8 years ago
SilverFire - Dmitry Naumenko
dd4b5afb5b
Try #2 to fix travis build on PHP < 7
8 years ago
SilverFire - Dmitry Naumenko
da5fbbd20e
Revert "Try to fix travis build on PHP < 7"
...
This reverts commit 779b687415
.
8 years ago
SilverFire - Dmitry Naumenko
779b687415
Try to fix travis build on PHP < 7
8 years ago
Alexander Makarov
758ca250ac
Enabled Codeclimate code coverage ( #13112 )
8 years ago
Carsten Brandt
51786cb595
improved composer stability for the asset plugin
8 years ago
Carsten Brandt
02af14e62f
move JS tests into a separate branch in travis matrix
...
this avoids running JS tests for each PHP version.
8 years ago
Alexey Rogachev
8ea1f510af
Implemented Javascript test suite
...
fixes #12840
Used @nkovacs draft as starting
point(https://github.com/yiisoft/yii2/issues/11037#issuecomment-193356450 ).
I also fixed some bugs in `yii.validation.js` and did some refactoring.
Implemented tests:
- yii.validation.js
Running tests:
- Install Node.js. I used the latest version available at the moment -
`v7.1.0`. Note that used `jsdom` dependent library version requires
`Node.js >= 4`.
- Run `npm install` to install dependencies.
- Execute `npm test` for running tests.
8 years ago
Carsten Brandt
4e4a6f69e3
remove CUBRID env from travis it is unused
8 years ago
Alexey Rogachev
8c0a431c66
Fix MySQL database setup for ubuntu trusty
8 years ago
Alexey Rogachev
a7ee60f9d2
Switch travis OR from precise to trusty
...
Switch from precise to trusty is required mainly because of jsdom
dependency. It requires Node.js > 4. Precise has very old Node.js and
NPM versions and they can not be updated because of default versions of
C++ compilers. While it's possible somehow to install Node 6 on Precise,
see this [document](https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md ),
I think this is not elegant solution and I'm not 100%
sure it will work correctly with Travis and container-based precise dist.
Trusty has v6.3.0 by default which is enough and way better and newer.
8 years ago
Walt Sorensen
04d9ae69bb
Test against HHVM 3.12 LTS version ( #13012 )
...
This provides Testing against HHVM 3.12 LTS version
If testing against other HHVM LST versions is desired follow this guide. https://docs.travis-ci.com/user/languages/php#HHVM-versions
Should be able to change to container based Trusty after Q1-17 https://blog.travis-ci.com/2016-11-08-trusty-container-public-beta/
8 years ago
Walt Sorensen
f76f0cff6c
Test against the current hhvm version ( #12971 )
...
* Test against the current hhvm version
This provides the current HHVM version (3.15.2 as of this PR) and will track with each release (i.e. will be 3.16 when 3.16 is released.
If testing against HHVM LST versions is desired follow this guide. https://docs.travis-ci.com/user/languages/php#HHVM-versions
Should be able to change to container based Trusty after Q1-17 https://blog.travis-ci.com/2016-11-08-trusty-container-public-beta/
* Try to create travis user for trusty hhvm and grant permissions
remove conditionals for apc and memcache
* more tweaks to grant privileges
* try 127.0.0.1 rather than localhost
* grant after db create
* try a different create user grant privileges form
* try to specify postgresql: "9.3" for hhvm
* need to look more into specifying postgresql: "9.3"
hhvm issues
* addon with no dash postgresql: "9.3"
* requested change && not ||
* redis-server isn't needed here
* Apply @cebe's patch for pgsql test failure
* Update .travis.yml
* Update CommandTest.php
* Update CommandTest.php
* Update CommandTest.php
try to fix hhvm tests
* Update CommandTest.php
8 years ago
Robert Korulczyk
b8f25cf4be
Disallow fails for PHP 7.1 tests
8 years ago
Carsten Brandt
2c3e3f3daa
Allow PHP 7.1 to fail until #12489 is fixed
8 years ago
Carsten Brandt
02458f221a
added php 7.1 to travis.yml
8 years ago
Carsten Brandt
1edf562800
better version match for travis memcache
8 years ago
SilverFire - Dmitry Naumenko
5e860405c8
Tried to fix Travis HHVM build (try 2)
8 years ago
SilverFire - Dmitry Naumenko
54fd85b5d6
Tried to fix Travis HHVM build
8 years ago
Carsten Brandt
8f9e834482
fix travis composer and disable xdebug
8 years ago
Carsten Brandt
9bd344f319
validate composer.json on travis
8 years ago
Kanin Peanviriyakulkit
c66121d2b6
update documentation fxp/composer-asset-plugin to version ^1.2.0 ( #11876 )
8 years ago
Carsten Brandt
70e8bfa725
test against php 7.1
8 years ago
SilverFire - Dmitry Naumenko
6fbac596ca
Travis: added ICU_DATA_VERTION to output
9 years ago
Daniel Gomez Pan
436b6555fc
Remove block comment [skip ci]
9 years ago
SilverFire - Dmitry Naumenko
9b1dfe54e9
Updated composer-asset-plugin requirement to `~1.1.1` all over the framework
9 years ago
Jani Mikkonen
a3df7f073d
Update travis composer-asset-plugin
9 years ago
Carsten Brandt
e0ffba31b0
do not allow failures on PHP 7 anymore
9 years ago
Daniel Gomez Pan
be25fa6ed1
Update composer-asset-plugin
...
close #9729
9 years ago
Maxim
a297870f74
HHVM nightly is no longer supported on Travis
...
HHVM nightly is no longer supported on Ubuntu Precise. See https://github.com/travis-ci/travis-ci/issues/3788 and https://github.com/facebook/hhvm/issues/5220
https://travis-ci.org/yiisoft/yii2/jobs/78771655
9 years ago
Carsten Brandt
486e7c59cf
updated fxp/composer-asset-plugin version constraint
...
fixes #6253
10 years ago