forked from bdellegrazie/ansible-role-postgres_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (31 loc) · 799 Bytes
/
.travis.yml
File metadata and controls
38 lines (31 loc) · 799 Bytes
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
30
31
32
33
34
35
36
37
38
---
dist: trusty
sudo: required
env:
matrix:
- distro=centos version='6'
- distro=centos version='7'
- distro=debian version='8'
- distro=ubuntu version='1604'
#- distro=fedora version='25'
language: ruby
cache:
bundler: true
directories:
- $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
services:
- docker
before_install:
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- pip install --user pre-commit
install:
- pre-commit install
- bundle install --without=development --binstubs=vendor/bin --path=vendor/bundle
script:
- pre-commit run --all-files
- vendor/bin/kitchen test ${distro}-${version}
notifications:
webhooks: https://galaxy.anible.com/api/v1/notifications/