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

Commit

Permalink
Issue #814: See if we can make rubocop inspect only our own Vagrantfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Jul 23, 2016
1 parent ead6ebc commit 6e91025
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ script:
- '[[ ! -z "${local_config}" ]] && sudo docker exec "$(cat ${container_id})" bash -c "cp ${DRUPALVM_DIR}/${local_config} ${config_dir:-$DRUPALVM_DIR}/local.config.yml" || true'

# Vagrantfile syntax check
- 'rubocop --list-target-files'
- 'rubocop --except LineLength,Eval,MutableConstant'
- 'rubocop ./Vagrantfile --except LineLength,Eval,MutableConstant'

# Ansible syntax check.
- 'sudo docker exec --tty "$(cat ${container_id})" env TERM=xterm ansible-playbook ${DRUPALVM_DIR}/provisioning/playbook.yml --syntax-check'
Expand Down

0 comments on commit 6e91025

Please sign in to comment.