mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-12-22 09:03:54 +01:00
Added initial travis.yml definition
This commit is contained in:
parent
51c659990b
commit
365576221a
20
.travis.yml
Normal file
20
.travis.yml
Normal file
@ -0,0 +1,20 @@
|
||||
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
|
||||
#- tests/setup_tests.sh ${OS_VERSION}
|
Loading…
Reference in New Issue
Block a user