-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for v0.2, added tests and .travis.yml
fixed merge errors fixed deployment issues with config if already exists in project fixed issue with missing SYMFONY_ENV while composer install fixed composer path variable missing added tests directory and travis.yml for testing
- Loading branch information
Showing
8 changed files
with
67 additions
and
22 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
language: python | ||
python: "2.7" | ||
|
||
before_install: | ||
# Make sure everything's up to date. | ||
- sudo apt-get update -qq | ||
|
||
install: | ||
# Install Ansible. | ||
- pip install ansible | ||
|
||
# Add ansible.cfg to pick up roles path. | ||
- "printf '[defaults]\nroles_path = ../' > ansible.cfg" | ||
|
||
script: | ||
# Check the role/playbook's syntax. | ||
- "ansible-playbook -i tests/inventory tests/test.yml --syntax-check" | ||
- "ansible-playbook -i tests/inventory tests/test.yml --connection=local --sudo" |
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
localhost |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
- hosts: localhost | ||
remote_user: root | ||
roles: | ||
- ansible-symfony2 | ||
|
||
vars: | ||
symfony2_project_root: ~/test_app | ||
symfony2_project_name: travis-test | ||
symfony2_project_composer_path: ~/test_app/shared | ||
symfony2_project_repo: git@github.com:symfony/symfony-standard.git | ||
symfony2_project_release: 1 | ||
symfony2_project_branch: "2.6" | ||
symfony2_project_php_path: /usr/bin/php | ||
symfony2_project_env: prod | ||
symfony2_project_console_opts: '--no-debug' | ||
symfony2_project_composer_opts: '--no-dev --optimize-autoloader' | ||
symfony2_project_keep_releases: 5 | ||
symfony2_project_clean_versioning: true |