forked from cimon-io/ansible-role-asdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (26 loc) · 1.89 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
dist: bionic
sudo: required
services:
- docker
env:
matrix:
- IMAGE_NAME="debian10" ANSIBLE_VERSION="4.8.0" PLAYBOOK_FILE="golang.yml" PLUGIN_EXEC="go version"
- IMAGE_NAME="ubuntu20.04" ANSIBLE_VERSION="4.8.0" PLAYBOOK_FILE="golang.yml" PLUGIN_EXEC="go version"
- IMAGE_NAME="centos7" ANSIBLE_VERSION="4.8.0" PLAYBOOK_FILE="golang.yml" PLUGIN_EXEC="go version"
- IMAGE_NAME="debian10" ANSIBLE_VERSION="4.8.0" PLAYBOOK_FILE="elixir.yml" PLUGIN_EXEC="elixir --version"
- IMAGE_NAME="ubuntu20.04" ANSIBLE_VERSION="4.8.0" PLAYBOOK_FILE="elixir.yml" PLUGIN_EXEC="elixir --version"
- IMAGE_NAME="centos7" ANSIBLE_VERSION="4.8.0" PLAYBOOK_FILE="elixir.yml" PLUGIN_EXEC="elixir --version"
- IMAGE_NAME="debian10" ANSIBLE_VERSION="4.8.0" PLAYBOOK_FILE="ruby.yml" PLUGIN_EXEC="ruby --version"
- IMAGE_NAME="ubuntu20.04" ANSIBLE_VERSION="4.8.0" PLAYBOOK_FILE="ruby.yml" PLUGIN_EXEC="ruby --version"
- IMAGE_NAME="centos7" ANSIBLE_VERSION="4.8.0" PLAYBOOK_FILE="ruby.yml" PLUGIN_EXEC="ruby --version"
- IMAGE_NAME="debian10" ANSIBLE_VERSION="4.8.0" PLAYBOOK_FILE="nodejs.yml" PLUGIN_EXEC="node --version"
- IMAGE_NAME="ubuntu20.04" ANSIBLE_VERSION="4.8.0" PLAYBOOK_FILE="nodejs.yml" PLUGIN_EXEC="node --version"
- IMAGE_NAME="centos7" ANSIBLE_VERSION="4.8.0" PLAYBOOK_FILE="nodejs.yml" PLUGIN_EXEC="node --version"
- IMAGE_NAME="debian10" ANSIBLE_VERSION="4.8.0" PLAYBOOK_FILE="lua.yml" PLUGIN_EXEC="lua -v"
- IMAGE_NAME="ubuntu20.04" ANSIBLE_VERSION="4.8.0" PLAYBOOK_FILE="lua.yml" PLUGIN_EXEC="lua -v"
- IMAGE_NAME="centos7" ANSIBLE_VERSION="4.8.0" PLAYBOOK_FILE="lua.yml" PLUGIN_EXEC="lua -v"
script:
- docker build -t $IMAGE_NAME --build-arg ANSIBLE_VERSION="$ANSIBLE_VERSION" --build-arg PLAYBOOK_FILE="$PLAYBOOK_FILE" --build-arg PLUGIN_EXEC="$PLUGIN_EXEC" -f tests/Dockerfile-$IMAGE_NAME .
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/