163 Commits

Author SHA1 Message Date
Anton Medvedev
fbe95602cd Add git user/email 2017-03-16 20:58:55 +07:00
Anton Medvedev
bf7028c8c0 Rename TestCase to DepCase 2017-03-16 20:54:09 +07:00
Anton Medvedev
1669ee3552 Set http_user for travis 2017-03-16 20:48:55 +07:00
Anton Medvedev
4cd0c8efd6 Fix tests 2017-03-16 20:42:40 +07:00
Anton Medvedev
982221b096 Move test app 2017-03-16 20:05:42 +07:00
Anton Medvedev
9e7ffe7984 Refactor recipe tests 2017-03-16 20:03:11 +07:00
Anton Medvedev
dafc57cdd0 Update Symfony min version to 2.7 2017-03-16 15:40:35 +07:00
Anton Medvedev
c162cb9adf Add a few tests 2017-03-16 15:05:16 +07:00
Anton Medvedev
30298cfbc9 Tests for src 2017-03-16 14:50:34 +07:00
Anton Medvedev
5745a714be Start refactoring tests 2017-03-16 11:26:43 +07:00
Anton Medvedev
92a4c20271 Refactor server+environment to host 2017-03-12 21:56:23 +07:00
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