Last active
August 29, 2015 14:08
-
-
Save icqparty/21c6ef1e581e097232e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: php | |
php: | |
- 5.5 | |
env: | |
- APPLICATION_ENV=develope DB_NAME=sendlead | |
services: | |
- mongodb | |
mysql: | |
adapter: mysql2 | |
database: $DB_NAME | |
username: travis | |
encoding: utf8 | |
cache: | |
directories: | |
- vendor | |
before_cache: | |
- composer self-update | |
- composer install | |
before_script: | |
- mysql -e "create database IF NOT EXISTS $DB_NAME;" -uroot | |
- mysql $DB_NAME < $DB_NAME.sql -uroot | |
- mysql -e "USE $DB_NAME; SHOW TABLES;" -uroot | |
script: phpunit --coverage-text | |
notifications: | |
on_success: never | |
on_failure: always | |
hipchat: <TOKEN> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment