Skip to content

Commit

Permalink
Fixes #379: Adding init tasks for ci config.
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash committed Sep 14, 2016
1 parent 97d88fe commit 2bf0906
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions phing/tasks/ci.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@
</phingcall>
</target>

<target name="ci:pipelines:init" description="Initializes default Acquia Pipelines configuration for this project.">
<copy file="${blt.root}/scripts/pipelines/acquia-pipelines.yml" tofile="${repo.root}/acquia-pipelines.yml"/>
</target>

<target name="ci:travis:init" description="Initializes default Travis CI configuration for this project.">
<copy file="${blt.root}/scripts/travis/.travis.yml" tofile="${repo.root}/.travis.yml"/>
</target>

<target name="ci:tugboat:init" description="Initializes default tugboat configuration for this project.">
<copy file="${blt.root}/scripts/tugboat/Makefile" tofile="${repo.root}/Makefile"/>
<copy file="${blt.root}/scripts/tugboat/tugboat.drushrc.aliases.php" todir="${repo.root}/drush/site-aliases">
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion template/.travis.yml → scripts/travis/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ before_script:
# Clear drush release history cache, to pick up new releases.
- rm -f ~/.drush/cache/download/*---updates.drupal.org-release-history-*
# Verify that no git diffs (caused by line ending variation) exist.
- git diff --exit-code
# - git diff --exit-code
# The local.hostname must be set to 127.0.0.1:8888 because we are using drush runserver to run the site on Travis CI.
- drupal yaml:update:value project.yml project.local.hostname '127.0.0.1:8888'

Expand Down

0 comments on commit 2bf0906

Please sign in to comment.