Skip to content

Commit f76339c

Browse files
committed
force ansible provisioning.
1 parent 78a7841 commit f76339c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tests/vagrant.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Bash script to run the test suite against the Vagrant environment.
55
#
6-
# version: 1.2
6+
# version: 1.8
77
#
88
# usage:
99
#
@@ -16,6 +16,12 @@
1616
#
1717
# changelog:
1818
#
19+
# v1.8 : 10 August 2016
20+
# - force provisioning
21+
#
22+
# v1.6 : 10 Jun 2016
23+
# - exit if USER environment variable is travis
24+
#
1925
# v1.4 : 10 Jul 2015
2026
# - remove environment variable ANSIBLE_ASK_SUDO_PASS
2127
#
@@ -24,6 +30,8 @@
2430
#
2531
# #################
2632

33+
test $USER == 'travis' && exit 0
34+
2735
DIR="$(dirname "$0")"
2836

2937
cd $DIR
@@ -56,7 +64,7 @@ do
5664
if [ ! -n "${BOX+1}" ] || [ "${BOX}" = "${VAGRANT_BOX}" ]; then
5765

5866
echo "[INFO] preparing ${VAGRANT_BOX}..."
59-
vagrant up ${VAGRANT_BOX} 2> /dev/null
67+
vagrant up --provision ${VAGRANT_BOX} 2> /dev/null
6068
if [ $? -ne 0 ]; then
6169
# box not enabled
6270
continue

0 commit comments

Comments
 (0)