We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0faeb8c commit 3347189Copy full SHA for 3347189
tests/travis.sh
@@ -0,0 +1,41 @@
1
+#!/usr/bin/env bash
2
+# #################
3
+#
4
+# Bash script to run tests in the travis-ci environment.
5
6
+# version: 1.0
7
8
+# usage:
9
10
+# travis.sh
11
12
+# example:
13
14
+# bash travis.sh
15
16
+# changelog:
17
18
+# v1.0 : 10 June 2016
19
+# - initial version
20
21
+# author(s):
22
+# - Pedro Salgado <steenzout@ymail.com>
23
24
25
+
26
+test $USER != 'travis' && exit 0
27
28
+set -e
29
30
+ansible-playbook \
31
+ -i localhost, \
32
+ --connection=local test.yml \
33
+ -e vagrant_box=localhost \
34
+ -e env=travis \
35
+ --skip-tags=test \
36
+ $@ \
37
+&& bash test_checkmode.sh \
38
+ --env travis \
39
+&& bash test_idempotence.sh \
40
+ --env travis
41
0 commit comments