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

Commit 6e91025

Browse files
committed
Issue #814: See if we can make rubocop inspect only our own Vagrantfile.
1 parent ead6ebc commit 6e91025

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ script:
6161
- '[[ ! -z "${local_config}" ]] && sudo docker exec "$(cat ${container_id})" bash -c "cp ${DRUPALVM_DIR}/${local_config} ${config_dir:-$DRUPALVM_DIR}/local.config.yml" || true'
6262

6363
# Vagrantfile syntax check
64-
- 'rubocop --list-target-files'
65-
- 'rubocop --except LineLength,Eval,MutableConstant'
64+
- 'rubocop ./Vagrantfile --except LineLength,Eval,MutableConstant'
6665

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

0 commit comments

Comments
 (0)