Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Add a test for nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyc committed Feb 5, 2016
1 parent 987d857 commit cb3d7ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -11,6 +11,7 @@ env:
version: 6
init: /sbin/init
run_opts: "--privileged"
additional_vars: "centos-6-vars.yml"
- distribution: centos
version: 7
init: /usr/lib/systemd/systemd
Expand Down Expand Up @@ -54,7 +55,7 @@ script:
- 'sudo docker exec "$(cat ${container_id})" cp /var/www/drupalvm/$MAKEFILE /var/www/drupalvm/drupal.make.yml'

# Append additional variables if set.
- '[[ $additional_vars ]] && sudo docker exec "$(cat ${container_id})" bash -c "cat /var/www/drupalvm/tests/${additional_vars} >> /var/www/drupalvm/config.yml"'
- '[[ $additional_vars ]] && sudo docker exec "$(cat ${container_id})" bash -c "cat /var/www/drupalvm/tests/${additional_vars} >> /var/www/drupalvm/config.yml" || true'

# Ansible syntax check.
- 'sudo docker exec --tty "$(cat ${container_id})" env TERM=xterm ansible-playbook /var/www/drupalvm/provisioning/playbook.yml --syntax-check'
Expand Down
1 change: 1 addition & 0 deletions tests/centos-6-vars.yml
@@ -0,0 +1 @@
drupalvm_webserver: nginx

0 comments on commit cb3d7ac

Please sign in to comment.