Created
March 28, 2014 14:23
-
-
Save reynaldm/9834040 to your computer and use it in GitHub Desktop.
Travis basic but complete configuration file
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
{ | |
"config":{ | |
"github-oauth":{ | |
"github.com":"my_project_composer_token" | |
} | |
} | |
} |
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 | |
before_script: | |
- cp app/config/parameters.yml.travis app/config/parameters.yml | |
- cp .travis-composer-config.json ~/.composer/config.json | |
- composer install --no-progress --prefer-dist | |
- php app/console doctrine:database:create --env=test | |
- php app/console doctrine:schema:create --env=test | |
- php app/console doctrine:fixtures:load -n --env=test | |
script: phpunit -c app | |
notifications: | |
email: | |
- myprojectname-dev@example.org |
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
parameters: | |
database_user: travis | |
database_password: ~ | |
# Other parameters |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment