forked from OpenISS/OpenISS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (22 loc) · 1.07 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
sudo: required
env:
matrix:
- OS_TYPE=scientificlinux/sl OS_VERSION=7 OS_VERSION_PREFIX='' OS_VERSION_SUFFIX=''
- OS_TYPE=centos OS_VERSION=7 OS_VERSION_PREFIX=centos OS_VERSION_SUFFIX=''
- OS_TYPE=centos OS_VERSION=8 OS_VERSION_PREFIX=centos OS_VERSION_SUFFIX=''
# Legacy
# - OS_TYPE=klada/scientific-linux OS_VERSION=7 OS_VERSION_PREFIX='' OS_VERSION_SUFFIX='.3'
# - OS_TYPE=centos OS_VERSION=6 OS_VERSION_PREFIX=centos OS_VERSION_SUFFIX=''
# - OS_TYPE=ringo/scientific OS_VERSION=6 OS_VERSION_PREFIX='' OS_VERSION_SUFFIX=.8
# - OS_TYPE=ringo/scientific OS_VERSION=7 OS_VERSION_PREFIX='' OS_VERSION_SUFFIX=.2
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 ${OS_TYPE}:${OS_VERSION_PREFIX}${OS_VERSION}${OS_VERSION_SUFFIX}
script:
# Run tests in Container
- tools/ci/docker_setup_tests.sh ${OS_VERSION}