Skip to content

Instantly share code, notes, and snippets.

@simkimsia
Created November 17, 2013 14:43
Show Gist options
  • Save simkimsia/7514197 to your computer and use it in GitHub Desktop.
Save simkimsia/7514197 to your computer and use it in GitHub Desktop.
Latest Travis configuration for CakePHP Plugin. Replace {PluginName} accordingly.
language: php
php:
- 5.4
- 5.5
env:
global:
- PLUGIN_NAME={PluginName}
- REQUIRE=""
- DB=mysql CAKE_VERSION=2.4
matrix:
- DB=mysql CAKE_VERSION=2.4
- DB=mysql CAKE_VERSION=2.5
matrix:
include:
- php: 5.4
env:
- COVERALLS=1
- php: 5.4
env:
- PHPCS=1
- php: 5.4
env:
- FOC_VALIDATE=1 FOC_TRAVIS=1
before_script:
- git clone https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
- ../travis/before_script.sh
script:
- ../travis/script.sh
after_success:
- ../travis/after_success.sh
notifications:
email: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment