From c6ddf5ea95e7d83806d162e3d26abe722c7a641e Mon Sep 17 00:00:00 2001 From: Guido Date: Mon, 22 Jun 2015 09:52:32 -0300 Subject: [PATCH 01/10] Beginning of ptBR translation of More directory --- .../pt_BR/LC_MESSAGES/More/Delegation/README.po | 2 +- locale/pt_BR/LC_MESSAGES/More/README.po | 2 +- .../pt_BR/LC_MESSAGES/More/Repository/README.po | 16 +++++++++++----- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/locale/pt_BR/LC_MESSAGES/More/Delegation/README.po b/locale/pt_BR/LC_MESSAGES/More/Delegation/README.po index 169e8fd..21a201b 100644 --- a/locale/pt_BR/LC_MESSAGES/More/Delegation/README.po +++ b/locale/pt_BR/LC_MESSAGES/More/Delegation/README.po @@ -29,7 +29,7 @@ msgstr "" #: ../../More/Delegation/README.rst:15 msgid "UML Diagram" -msgstr "" +msgstr "Diagrama UML" #: ../../More/Delegation/README.rst:22 msgid "Code" diff --git a/locale/pt_BR/LC_MESSAGES/More/README.po b/locale/pt_BR/LC_MESSAGES/More/README.po index c3585d8..454e09c 100644 --- a/locale/pt_BR/LC_MESSAGES/More/README.po +++ b/locale/pt_BR/LC_MESSAGES/More/README.po @@ -13,4 +13,4 @@ msgstr "" #: ../../More/README.rst:2 msgid "More" -msgstr "" +msgstr "Outros" diff --git a/locale/pt_BR/LC_MESSAGES/More/Repository/README.po b/locale/pt_BR/LC_MESSAGES/More/Repository/README.po index d9ecc90..7439b93 100644 --- a/locale/pt_BR/LC_MESSAGES/More/Repository/README.po +++ b/locale/pt_BR/LC_MESSAGES/More/Repository/README.po @@ -28,10 +28,16 @@ msgid "" "also supports the objective of achieving a clean separation and one-way " "dependency between the domain and data mapping layers." msgstr "" +"Faz a mediação entre o domínio e as camadas de mapeamento de dados usando uma coleção de " +"interfaces para acessar os objetos de domínio. Repositóros encapsulam um conjunto de " +"objetos persistidos em um data store e as operações feitas sobre eles, " +"provendo uma visão mais orientada a objetos da camada de persistência. Repositorio " +"também apóia o objetivo de alcançar uma separação limpa e uma dependencia unidirecional " +"entre o domínio e as camadas de mapeamento de dados." #: ../../More/Repository/README.rst:16 msgid "Examples" -msgstr "" +msgstr "Exemplos" #: ../../More/Repository/README.rst:18 msgid "" @@ -41,19 +47,19 @@ msgstr "" #: ../../More/Repository/README.rst:20 msgid "Laravel Framework" -msgstr "" +msgstr "Framework Laravel" #: ../../More/Repository/README.rst:23 msgid "UML Diagram" -msgstr "" +msgstr "Diagrama UML" #: ../../More/Repository/README.rst:30 msgid "Code" -msgstr "" +msgstr "Código" #: ../../More/Repository/README.rst:32 msgid "You can also find these code on `GitHub`_" -msgstr "" +msgstr "Você também pode encontrar esse código no `GitHub`_" #: ../../More/Repository/README.rst:34 msgid "Post.php" From bebba190371a87829a43d04e1ff7e803650dbd45 Mon Sep 17 00:00:00 2001 From: Leonam Dias Date: Fri, 19 Jun 2015 15:29:27 -0300 Subject: [PATCH 02/10] Portuguese translation part two Corrections on brazilian portuguese README Includes corrections on pt_br README like whitespaces etc. Translating Creational README page to pt_br Translating the creational readme to brazilian portuguese changing the header in pt_BR Translating abstract factory to pt_br translating Builder and FactoryMethod for brazilian pt --- .../Creational/AbstractFactory/README.po | 18 ++++++++----- .../LC_MESSAGES/Creational/Builder/README.po | 27 +++++++++++-------- .../Creational/FactoryMethod/README.po | 23 ++++++++++------ locale/pt_BR/LC_MESSAGES/Creational/README.po | 9 +++++-- locale/pt_BR/LC_MESSAGES/README.po | 26 +++++++++--------- 5 files changed, 62 insertions(+), 41 deletions(-) diff --git a/locale/pt_BR/LC_MESSAGES/Creational/AbstractFactory/README.po b/locale/pt_BR/LC_MESSAGES/Creational/AbstractFactory/README.po index 04a383e..fd6e4dd 100644 --- a/locale/pt_BR/LC_MESSAGES/Creational/AbstractFactory/README.po +++ b/locale/pt_BR/LC_MESSAGES/Creational/AbstractFactory/README.po @@ -4,20 +4,21 @@ msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-05-29 12:18+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"PO-Revision-Date: 2015-06-20 12:00-0300\n" +"Last-Translator: Leonam Pereira Dias \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: pt_BR\n" #: ../../Creational/AbstractFactory/README.rst:2 msgid "`Abstract Factory`__" msgstr "" +"Fábrica de abstração_ (`Abstract Factory`__)" #: ../../Creational/AbstractFactory/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Objetivo" #: ../../Creational/AbstractFactory/README.rst:7 msgid "" @@ -26,18 +27,21 @@ msgid "" "interface. The client of the abstract factory does not care about how these " "objects are created, he just knows how they go together." msgstr "" +"Para a criação de conjunto de objetos relacionados ou dependentes sem especificar suas " +"classes concretas. O cliente da fábrica de abstração não precisa se preocupar como estes " +"objetos são criados, ele só sabe obtê-los." #: ../../Creational/AbstractFactory/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "Diagrama UML" #: ../../Creational/AbstractFactory/README.rst:20 msgid "Code" -msgstr "" +msgstr "Código" #: ../../Creational/AbstractFactory/README.rst:22 msgid "You can also find these code on `GitHub`_" -msgstr "" +msgstr "Você pode encontrar o código no `Github`_" #: ../../Creational/AbstractFactory/README.rst:24 msgid "AbstractFactory.php" diff --git a/locale/pt_BR/LC_MESSAGES/Creational/Builder/README.po b/locale/pt_BR/LC_MESSAGES/Creational/Builder/README.po index 79d4fe3..4dcdf66 100644 --- a/locale/pt_BR/LC_MESSAGES/Creational/Builder/README.po +++ b/locale/pt_BR/LC_MESSAGES/Creational/Builder/README.po @@ -4,62 +4,67 @@ msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-05-29 12:18+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"PO-Revision-Date: 2015-05-21 10:54-0300\n" +"Last-Translator: Leonam Pereira Dias \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: pt_BR\n" #: ../../Creational/Builder/README.rst:2 msgid "`Builder`__" -msgstr "" +msgstr "Construtor (`Builder`__)" #: ../../Creational/Builder/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Objetivo" #: ../../Creational/Builder/README.rst:7 msgid "Builder is an interface that build parts of a complex object." -msgstr "" +msgstr "Contrutor é uma interface que constrói partes de objetos complexos." #: ../../Creational/Builder/README.rst:9 msgid "" "Sometimes, if the builder has a better knowledge of what it builds, this " "interface could be an abstract class with default methods (aka adapter)." msgstr "" +"As vezes, se o construtor tem melhor conhecimento do que ele cria, essa " +"interface pode ser uma classe abstrata com métodos padrão (como o padrão adaptador)." #: ../../Creational/Builder/README.rst:12 msgid "" "If you have a complex inheritance tree for objects, it is logical to have a " "complex inheritance tree for builders too." msgstr "" +"Se você tem uma árvore de herança entre objetos complexa, é lógico que se tenha uma " +"árvore de herança complexa para os construtores também" #: ../../Creational/Builder/README.rst:15 msgid "" "Note: Builders have often a fluent interface, see the mock builder of " "PHPUnit for example." msgstr "" +"Nota: Construtores têm frequentemente, uma interface fluente. Veja o construtor mock do PHPUnit, por exemplo." #: ../../Creational/Builder/README.rst:19 msgid "Examples" -msgstr "" +msgstr "Exemplos" #: ../../Creational/Builder/README.rst:21 msgid "PHPUnit: Mock Builder" -msgstr "" +msgstr "PHPUnit: Contrutor Mock" #: ../../Creational/Builder/README.rst:24 msgid "UML Diagram" -msgstr "" +msgstr "Diagrama UML" #: ../../Creational/Builder/README.rst:31 msgid "Code" -msgstr "" +msgstr "Código" #: ../../Creational/Builder/README.rst:33 msgid "You can also find these code on `GitHub`_" -msgstr "" +msgstr "Você pode encontrar esse código no `Github`_" #: ../../Creational/Builder/README.rst:35 msgid "Director.php" diff --git a/locale/pt_BR/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/pt_BR/LC_MESSAGES/Creational/FactoryMethod/README.po index b65c56b..ddbfdd7 100644 --- a/locale/pt_BR/LC_MESSAGES/Creational/FactoryMethod/README.po +++ b/locale/pt_BR/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -4,54 +4,61 @@ msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-05-29 12:18+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"PO-Revision-Date: 2015-06-21 11:09-0300\n" +"Last-Translator: Leonam Pereira Dias \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: pt_BR\n" #: ../../Creational/FactoryMethod/README.rst:2 msgid "`Factory Method`__" -msgstr "" +msgstr "Fábrica de Métodos (`Factory Method`__)" #: ../../Creational/FactoryMethod/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Objetivo" #: ../../Creational/FactoryMethod/README.rst:7 msgid "" "The good point over the SimpleFactory is you can subclass it to implement " "different ways to create objects" msgstr "" +"O ponto positivo em relação ao SimpleFactory é que pode-se extender sua implementação " +"de diferentes maneiras para a criação de objetos." #: ../../Creational/FactoryMethod/README.rst:10 msgid "For simple case, this abstract class could be just an interface" msgstr "" +"Para um caso simples, esta classe abstrata pode ser apenas uma interface" #: ../../Creational/FactoryMethod/README.rst:12 msgid "" "This pattern is a \"real\" Design Pattern because it achieves the " "\"Dependency Inversion Principle\" a.k.a the \"D\" in S.O.L.I.D principles." msgstr "" +"Este padrão é um padrão de projetos de software \"real\" já que " +"trata o \"Princípio da inversão de dependências\" o \"D\" nos princípios S.O.L.I.D" #: ../../Creational/FactoryMethod/README.rst:15 msgid "" "It means the FactoryMethod class depends on abstractions, not concrete " "classes. This is the real trick compared to SimpleFactory or StaticFactory." msgstr "" +"Significa que a Fábrica de Método depende de abstrações, não implementação. " +"Este é uma vantagem comparado ao SimpleFactory ou StaticFactory." #: ../../Creational/FactoryMethod/README.rst:20 msgid "UML Diagram" -msgstr "" +msgstr "Diagrama UML" #: ../../Creational/FactoryMethod/README.rst:27 msgid "Code" -msgstr "" +msgstr "Código" #: ../../Creational/FactoryMethod/README.rst:29 msgid "You can also find these code on `GitHub`_" -msgstr "" +msgstr "Você pode encontrar este código no `Github`_" #: ../../Creational/FactoryMethod/README.rst:31 msgid "FactoryMethod.php" diff --git a/locale/pt_BR/LC_MESSAGES/Creational/README.po b/locale/pt_BR/LC_MESSAGES/Creational/README.po index 72f543b..4873bcd 100644 --- a/locale/pt_BR/LC_MESSAGES/Creational/README.po +++ b/locale/pt_BR/LC_MESSAGES/Creational/README.po @@ -1,4 +1,4 @@ -# +# msgid "" msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" @@ -13,7 +13,7 @@ msgstr "" #: ../../Creational/README.rst:2 msgid "`Creational`__" -msgstr "" +msgstr "`Criacional`__" #: ../../Creational/README.rst:4 msgid "" @@ -23,3 +23,8 @@ msgid "" " design problems or added complexity to the design. Creational design " "patterns solve this problem by somehow controlling this object creation." msgstr "" +"Em engenharia de software, padrões de projeto do tipo criacional são padrões que" +" trabalham com mecanismos de criação de objetos, criando objetos de maneira " +"adequada às situações. A forma básica para criação de objetos pode resultar em" +" problemas de design ou adicionar complexidade ao mesmo. Padrões de Criação " +"resolvem este problema mantendo a criação do objeto sob controle." diff --git a/locale/pt_BR/LC_MESSAGES/README.po b/locale/pt_BR/LC_MESSAGES/README.po index ce29298..a10ea0b 100644 --- a/locale/pt_BR/LC_MESSAGES/README.po +++ b/locale/pt_BR/LC_MESSAGES/README.po @@ -1,15 +1,15 @@ -# +# msgid "" msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-05-29 12:18+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"PO-Revision-Date: 2015-06-18 12:00-0300\n" +"Last-Translator: Leonam Pereira Dias \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: pt_BR\n" #: ../../README.rst:5 msgid "DesignPatternsPHP" @@ -22,9 +22,9 @@ msgid "" "them from Zend Framework, Symfony2 or Doctrine2 as I'm most familiar with " "this software)." msgstr "" -"Esta é uma coleção de padrões de projetos conhecidos e alguns códigos de exemplo de como" -"implementá-los em PHP. Todo padrão tem uma pequena lista de exemplos (muitos deles" -"vindos do Zend Framework, Symfony2 ou Doctrine2 já que tenho mais familiaridade com" +"Esta é uma coleção de padrões de projetos conhecidos e alguns códigos de exemplo de como " +"implementá-los em PHP. Todo padrão tem uma pequena lista de exemplos (muitos deles " +"vindos do Zend Framework, Symfony2 ou Doctrine2 já que tenho mais familiaridade com " "eles" #: ../../README.rst:16 @@ -32,7 +32,7 @@ msgid "" "I think the problem with patterns is that often people do know them but " "don't know when to apply which." msgstr "" -"Eu acredito que o problema com os padrões é que muitas pessoas os conhecem mas" +"Eu acredito que o problema com os padrões é que muitas pessoas os conhecem mas " "não sabem quando aplicá-los" #: ../../README.rst:20 @@ -46,8 +46,8 @@ msgid "" " click on **the title of every pattern's page** for a full explanation of " "the pattern on Wikipedia." msgstr "" -"Os padrões podem ser estruturados grosseiramente em tres categorias diferentes. Por favor" -"clique no **no título da página de cada padrão** para uma explicação completa do" +"Os padrões podem ser estruturados grosseiramente em tres categorias diferentes. Por favor " +"clique no **no título da página de cada padrão** para uma explicação completa do " "padrão na Wikipedia." #: ../../README.rst:35 @@ -63,10 +63,10 @@ msgid "" "standard`_ using ``./vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor " ".``." msgstr "" -"Por favor, sinta-se a vontade para criar um fork e extender os exemplos existentes ou para criar os seus e" +"Por favor, sinta-se a vontade para criar um fork e extender os exemplos existentes ou para criar os seus e " "envie um pull request com suas alterações! Para manter o código consistente " -"qualidade, por favor, valide seu código usando o `PHP CodeSniffer`_ baseado na `PSR2`_ " -"usando ``./vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor" +"e com qualidade, por favor, valide seu código usando o `PHP CodeSniffer`_ baseado na `PSR2`_ " +"usando ``./vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor``" #: ../../README.rst:44 msgid "License" From 1450771c59e8d6f407f536779e460cbffb547064 Mon Sep 17 00:00:00 2001 From: Faust Date: Mon, 22 Jun 2015 15:27:59 +0200 Subject: [PATCH 03/10] fix fix fix --- locale/ru/LC_MESSAGES/Behavioral/README.po | 4 ++-- locale/ru/LC_MESSAGES/Creational/README.po | 4 ++-- locale/ru/LC_MESSAGES/Structural/README.po | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/locale/ru/LC_MESSAGES/Behavioral/README.po b/locale/ru/LC_MESSAGES/Behavioral/README.po index 1726bb0..38ef9ce 100644 --- a/locale/ru/LC_MESSAGES/Behavioral/README.po +++ b/locale/ru/LC_MESSAGES/Behavioral/README.po @@ -12,8 +12,8 @@ msgstr "" "Language: ru\n" #: ../../Behavioral/README.rst:2 -msgid "Behavioral" -msgstr "`Поведенческие шаблоны проектирования `_ (Behavioral)" +msgid "`Behavioral`__" +msgstr "`Поведенческие шаблоны проектирования `_ (`Behavioral`__)" #: ../../Behavioral/README.rst:4 msgid "" diff --git a/locale/ru/LC_MESSAGES/Creational/README.po b/locale/ru/LC_MESSAGES/Creational/README.po index 9a8358a..2827f03 100644 --- a/locale/ru/LC_MESSAGES/Creational/README.po +++ b/locale/ru/LC_MESSAGES/Creational/README.po @@ -12,8 +12,8 @@ msgstr "" "Language: ru\n" #: ../../Creational/README.rst:2 -msgid "Creational" -msgstr "Порождающие шаблоны проектирования (Creational)" +msgid "`Creational`__" +msgstr "Порождающие шаблоны проектирования (`Creational`__)" #: ../../Creational/README.rst:4 msgid "" diff --git a/locale/ru/LC_MESSAGES/Structural/README.po b/locale/ru/LC_MESSAGES/Structural/README.po index 9b82984..fc6965f 100644 --- a/locale/ru/LC_MESSAGES/Structural/README.po +++ b/locale/ru/LC_MESSAGES/Structural/README.po @@ -12,10 +12,10 @@ msgstr "" "Language: ru\n" #: ../../Structural/README.rst:2 -msgid "Structural" +msgid "`Structural`__" msgstr "" "`Структурные шаблоны проектирования ` (Structural)" +"Структурные_шаблоны_проектирования>`_ (`Structural`__)" #: ../../Structural/README.rst:4 msgid "" From 473c04f3983d0fd6296c3be769c022e597837564 Mon Sep 17 00:00:00 2001 From: Dmitry Patsura Date: Mon, 6 Jul 2015 19:27:00 +0800 Subject: [PATCH 04/10] Only Zend Framework 1.x has class Zend_Registry --- Structural/Registry/README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Structural/Registry/README.rst b/Structural/Registry/README.rst index 9de8029..8a92604 100644 --- a/Structural/Registry/README.rst +++ b/Structural/Registry/README.rst @@ -11,7 +11,7 @@ static methods (or using the Singleton pattern) Examples -------- -- Zend Framework: ``Zend_Registry`` holds the application's logger +- Zend Framework 1: ``Zend_Registry`` holds the application's logger object, front controller etc. - Yii Framework: ``CWebApplication`` holds all the application components, such as ``CWebUser``, ``CUrlManager``, etc. From 17411e7accbf99b38b7a96ffa7f576a5e96acd68 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Fri, 10 Jul 2015 02:28:44 +0300 Subject: [PATCH 05/10] Update Plus.php --- Behavioral/Specification/Plus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Behavioral/Specification/Plus.php b/Behavioral/Specification/Plus.php index c4ad546..4bbecc1 100644 --- a/Behavioral/Specification/Plus.php +++ b/Behavioral/Specification/Plus.php @@ -11,7 +11,7 @@ class Plus extends AbstractSpecification protected $right; /** - * Creation of a locical AND of two specifications + * Creation of a logical AND of two specifications * * @param SpecificationInterface $left * @param SpecificationInterface $right From 1029f638ffa73d578b172332251c69d4685a1871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Mo=CC=88ller?= Date: Tue, 14 Jul 2015 10:43:33 -0400 Subject: [PATCH 06/10] Enhancement: Direct builds to container-based infrastructure --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index f7edf14..a2c2dff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: php +sudo: false + php: - 5.3 - 5.4 From 56df6d5f0614f682a6fa13519b1f4257b7415ee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Mo=CC=88ller?= Date: Tue, 14 Jul 2015 10:53:08 -0400 Subject: [PATCH 07/10] Fix: Use phpunit as installed with Composer --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f7edf14..2aa52c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,4 +19,4 @@ before_script: - composer install --prefer-source --no-interaction script: - - phpunit + - vendor/bin/phpunit From 7ed1fec4f2c4fa213642544986314a0e70d3ecb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Mo=CC=88ller?= Date: Tue, 14 Jul 2015 10:54:40 -0400 Subject: [PATCH 08/10] Enhancement: Use SVG badge for displaying Travis build status --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index efe31ac..0d9e054 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # DesignPatternsPHP -[![Build Status](https://travis-ci.org/domnikl/DesignPatternsPHP.png?branch=master)](https://travis-ci.org/domnikl/DesignPatternsPHP) +[![Build Status](https://travis-ci.org/domnikl/DesignPatternsPHP.svg?branch=master)](https://travis-ci.org/domnikl/DesignPatternsPHP) [Read the Docs of DesignPatternsPHP](http://designpatternsphp.readthedocs.org) or [Download as PDF/Epub](https://readthedocs.org/projects/designpatternsphp/downloads/) From 63e5bc125ef82bc0cfba4f9cf5fecd47aaa8e236 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Mo=CC=88ller?= Date: Tue, 14 Jul 2015 10:45:21 -0400 Subject: [PATCH 09/10] Enhancement: Cache dependencies installed with Composer between builds --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index a2c2dff..567b40f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,10 @@ matrix: - php: 7.0 fast_finish: true +cache: + directories: + - $HOME/.composer/cache + before_script: - composer self-update - composer install --prefer-source --no-interaction From 48e6e06495c6f5cddcecd5c2c55f95b3565edd90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Mo=CC=88ller?= Date: Tue, 14 Jul 2015 16:08:26 -0400 Subject: [PATCH 10/10] Fix: Prefer installation from dist, rather than source --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 567b40f..20fe4ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ cache: before_script: - composer self-update - - composer install --prefer-source --no-interaction + - composer install --prefer-dist --no-interaction script: - phpunit