language: php

php:
  - 5.4
  - 5.5
  - 5.6

env:
  global:
    - PLUGIN_NAME=Locale
    - REQUIRE=""
    - DB=mysql CAKE_VERSION=2.4

  matrix:
    - DB=mysql CAKE_VERSION=2.4
    - DB=pgsql CAKE_VERSION=2.4
    - DB=mysql CAKE_VERSION=2.5
    - DB=pgsql CAKE_VERSION=2.5
    - DB=mysql CAKE_VERSION=2.6
    - DB=pgsql CAKE_VERSION=2.6

before_install:
  - sudo locale-gen --no-purge --lang pt_BR.UTF-8

before_script:
  - git clone https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
  - ../travis/before_script.sh
  - echo "setlocale(LC_ALL, 'pt_BR.utf8', 'pt_BR', 'pt-br', 'portuguese');" >> Config/bootstrap.php

script:
  - ../travis/script.sh

after_success:
  - ../travis/after_success.sh

notifications:
  email: false

language: php

php:
  - 5.4
  - 5.5
  - 5.6

env:
  global:
    - PLUGIN_NAME=Locale
    - REQUIRE=""
    - DB=mysql CAKE_VERSION=2.4

  matrix:
    - DB=mysql CAKE_VERSION=2.4
    - DB=pgsql CAKE_VERSION=2.4
    - DB=mysql CAKE_VERSION=2.5
    - DB=pgsql CAKE_VERSION=2.5
    - DB=mysql CAKE_VERSION=2.6
    - DB=pgsql CAKE_VERSION=2.6

matrix:
    include:
        - php: 5.6
        env:
            - COVERALLS=1

before_install:
  - sudo locale-gen --no-purge --lang pt_BR.UTF-8

before_script:
  - git clone https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
  - ../travis/before_script.sh
  - echo "setlocale(LC_ALL, 'pt_BR.utf8', 'pt_BR', 'pt-br', 'portuguese');" >> Config/bootstrap.php

script:
  - ../travis/script.sh

after_success:
  - ../travis/after_success.sh

notifications:
  email: false

Enable COVERALLS in test matrix
Enable COVERALLS in test matrix
