1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-05 10:03:45 +01:00
nagios-plugins/.travis.yml

21 lines
462 B
YAML
Raw Normal View History

2017-09-27 10:14:01 +02:00
sudo: required
env:
matrix:
- OS_TYPE=centos OS_VERSION=6
- OS_TYPE=centos OS_VERSION=7
services:
- docker
before_install:
- sudo apt-get update
- echo 'DOCKER_OPTS="-H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock -s devicemapper"' | sudo tee /etc/default/docker > /dev/null
- sudo service docker restart
- sleep 5
- sudo docker pull centos:centos${OS_VERSION}
script:
# Run tests in Container
2017-09-27 10:56:33 +02:00
- tests/setup_tests.sh ${OS_VERSION}