summaryrefslogtreecommitdiff
path: root/contrib/test/integration/build/bats.yml
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/test/integration/build/bats.yml')
-rw-r--r--contrib/test/integration/build/bats.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/contrib/test/integration/build/bats.yml b/contrib/test/integration/build/bats.yml
new file mode 100644
index 000000000..d4ea19c65
--- /dev/null
+++ b/contrib/test/integration/build/bats.yml
@@ -0,0 +1,17 @@
+---
+
+- name: clone bats source repo
+ git:
+ repo: "https://github.com/sstephenson/bats.git"
+ dest: "{{ ansible_env.GOPATH }}/src/github.com/sstephenson/bats"
+
+- name: install bats
+ command: "./install.sh /usr/local"
+ args:
+ chdir: "{{ ansible_env.GOPATH }}/src/github.com/sstephenson/bats"
+
+- name: link bats
+ file:
+ src: /usr/local/bin/bats
+ dest: /usr/bin/bats
+ state: link