From 365576221a21b1d2c83aafe37eb1eb5f0f42a719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samu=CC=81el=20Jo=CC=81n=20Gunnarsson?= Date: Wed, 27 Sep 2017 10:14:01 +0200 Subject: [PATCH] Added initial travis.yml definition --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6004a4a --- /dev/null +++ b/.travis.yml @@ -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}