Commit bdf482c4 authored by Jon Pugh's avatar Jon Pugh

Improve provision save commands in travis.yml

parent a18171cf
......@@ -27,10 +27,41 @@ addons:
install:
- composer install
- sudo ln -s $PWD/bin/provision /usr/local/bin/provision
- mkdir /home/travis/config
- ls -la
script:
- provision
- provision status
- provision save server_master --context_type=server --remote_host=provision.local.computer --aegir_root=/home/travis --script_user=travis --master_url=provision.local.computer
\ No newline at end of file
# Add server context.
- provision save server_master -n \
--context_type=server \
--remote_host=provision.local.computer \
--aegir_root=/home/travis \
--script_user=travis \
--master_url=provision.local.computer
# Add platform context.
- provision save platform_hostmaster -n \
--context_type=platform \
--root=/home/travis/hostmaster \
--server=server_master \
--web_server=server_master \
--makefile=https://raw.githubusercontent.com/aegir-project/provision/4.x/aegir.make \
--make_working_copy=1
# Add site context.
- provision save hostmaster -n \
--context_type=site \
--platform=platform_hostmaster \
--db_server=server_master \
--uri=provision.local.computer \
--language=en \
--aliases=test.provision.local.computer,admin.provision.local.computer \
--redirection=0 \
--client_name=admin \
--install_method=profile \
--profile=hostmaster \
--drush_aliases=hm,hostm
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment