152 Commits

Author SHA1 Message Date
Hasham Ahmad
c728185321 Parse hyphens in environment setting names 2017-03-09 11:33:15 +00:00
Mathias Brodala
43cf9db961 Fix merge of string array config options
This unbreaks e.g. the following:

add('shared_files', ['foo']);
add('shared_files', ['bar']);

Without this fix, this would become ['bar'] instead of ['foo', 'bar']
2017-03-07 11:51:27 +01:00
Maksim Kuznetsov
70ba131549 Fix tests and StyleCI for --no-hooks option 2017-03-03 05:03:28 +03:00
Maksim Kuznetsov
41e4f2d009 Add --no-hooks option for running commands without before() and after() (#934) 2017-03-03 04:50:38 +03:00
Anton Medvedev
76743d22b9 Remove unnecessary tests
Test `testVendor` simple tests what composer.phar can be downloaded. This slows tests a lot, but doesn't give anything back. Drop it.
2017-02-24 23:32:59 +07:00
Anton Medvedev
42fcc6938a Rename test method 2017-02-24 23:29:46 +07:00
Maksim Kuznetsov
a4900c94c9 Create writable_dirs if they don’t exist 2017-02-24 02:27:50 +03:00
Maxim Kuznetsov
78f176edbe Merge branch 'master' into feature/995-shared-dirs-names 2017-02-17 07:54:19 +03:00
Maksim Kuznetsov
6213095d7e Fix sharing folders having similar names 2017-02-17 07:46:51 +03:00
Mathias Brodala
c37237da88 Add a way to retrieve a defined task
This is useful to reconfigure tasks defined in 3rd party recipes,
e.g. to limit execution to a few servers.
2017-02-13 16:54:24 +01:00
Mathias Brodala
d2cbc89da3 Fix scalar options merge (#1003)
* Add (failing) tests for scalar option merge behavior

* Fix scalar values on recursive option merge

This covers the following two essential usecases:

1. A scalar default value should be overridden
2. Values should be added to a array default value

* Update changelog

* Add a few comments

* Use specific class name for config merge
2017-02-07 23:16:46 +07:00
Anton Medvedev
decad7a8d4 Apply fixes from StyleCI 2017-01-27 06:23:49 +00:00
Anton Medvedev
acf322238a Update dependencies
Do composer update and refactor PHPUnit namespaces.
2017-01-27 11:06:12 +07:00
Mathias Brodala
031a090afa Recursively add configuration options 2017-01-18 12:21:27 +01:00
Jordi Sala
841ae52311 remove trailing whitespace, add whitespace checks on styleci 2016-12-08 00:14:27 +01:00
Anton Medvedev
f87868bdbd Fix tests. 2016-11-19 16:02:17 +07:00
Anton Medvedev
e704377aab Use clear_paths in Symfony recipe #880. 2016-11-17 23:35:25 +07:00
Anton Medvedev
3e40fcd958 Feature: logger. 2016-11-13 17:42:35 +07:00
Anton Medvedev
8a3c7884b0 Refactor config: remove dotarray. 2016-11-13 15:23:26 +07:00
Anton Medvedev
e5bd3a08ca Fix tasks. 2016-11-12 17:21:28 +07:00
Anton Medvedev
374f40d0e5 Refactor: tasks groups/after/before. 2016-11-12 15:29:22 +07:00
Anton Medvedev
6650cb1b6d Fix tests. 2016-11-10 14:00:54 +07:00
Anton Medvedev
821d2b53dd Better output log. 2016-11-10 13:18:40 +07:00
Anton Medvedev
01ac931622 Do not use realpath. 2016-11-09 22:03:04 +07:00
Anton Medvedev
67031f005c Fix tests. 2016-11-07 20:53:14 +07:00
Anton Medvedev
c0c68fd533 Fix tests. 2016-11-07 14:12:09 +07:00
Anton Medvedev
82a2dc909e Feature: add function. 2016-11-07 12:47:29 +07:00
Anton Medvedev
15ad934fb0 Refactor deploy.php file config storage. 2016-11-05 22:09:07 +07:00
Anton Medvedev
7973579a9e Fix tests. 2016-11-05 18:17:01 +07:00
Anton Medvedev
c133d6444a Refactor env() to set()/get(). 2016-11-05 17:50:18 +07:00
Anton Medvedev
e397486eb2 Merge branch 'master' into 4.x
# Conflicts:
#	README.md
#	recipe/symfony.php
#	src/Bootstrap/BootstrapByConfigFile.php
#	src/functions.php
2016-11-05 11:55:03 +07:00
Lucas Jenss
fd1ea39f24 Allow parameters to be passed to phpunit 2016-11-03 14:26:38 +01:00
Lucas Jenss
d21672c4d9 [WIP] Docker test runner 2016-11-03 14:13:13 +01:00
prosalov
a7557416e2 Fix coding standards, doc blocks and typehinting
Added BuilderInterface

Fixed tests and doc blocks
2016-10-30 14:52:13 +06:00
Anton Medvedev
aa54eb7ce3 Upgrade to PHPUnit 5.4 2016-08-04 23:41:51 +03:00
Anton Medvedev
f9422e0f56 Merge branch 'master' into 4.x
# Conflicts:
#	src/functions.php
2016-08-04 21:58:46 +03:00
Anton Medvedev
f2f5ed7c2c Merge pull request #643 from yejune/pr
fix task once
2016-08-04 22:40:45 +04:00
Oanh Nguyen
c9737de03c Applied fixes from StyleCI 2016-05-31 22:15:00 -04:00
Irfan Durmus
b7f8620e6e Cluster - feature (#544)
Cluster feature.
2016-05-22 11:33:38 +07:00
Max
005fb235b8 add testcase 2016-05-09 15:04:12 +09:00
oanhnn
8e9a0b8d74 Improve Collection class by feature of PHP 5.5+ 2016-04-21 08:40:42 +07:00
Anton Medvedev
680525682d Merge branch 'master' into 4.x
Conflicts:
	composer.lock
2016-04-07 19:42:10 +07:00
Anton Medvedev
5fa083c072 Use deployer/phar-update instead of kherge/amend. Upgrade composer.lock dependencies. Use start instead of run in parallel executor process. 2016-04-07 15:16:58 +07:00
Anton Medvedev
a3733d0d81 Revert "Added function taskGroup and changed spec of function task"
This reverts commit 9c1e4eca2d5f4e5a3581e7602906c76c8af6ed72.

Conflicts:
	test/src/FunctionsTest.php
2016-04-04 17:01:55 +07:00
Anton Medvedev
6c6b1f8c9b Merge branch 'master' into 4.x
Conflicts:
	composer.lock
	recipe/common.php
2016-04-04 16:58:34 +07:00
Anton Medvedev
32310b963c Fix support dep init command in phar. 2016-03-19 20:51:49 +07:00
Andrei Sozonov
31de366481 rebase 2016-03-14 10:25:41 +02:00
oanhnn
dc6594e4f9 Merge branch 'master' into feature/adding-task-deploy-clean-files-and-or-directories 2016-03-14 10:44:28 +07:00
oanhnn
f616e8c2de Added more test cases 2016-03-07 11:58:31 +07:00
Andrei Sozonov
c9dd4c522d #526 fix test 2016-02-26 11:58:24 +02:00