-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (35 loc) · 941 Bytes
/
.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
language: python
python: '2.7'
services: docker
matrix:
include:
- env:
- distro: centos7
- MOLECULE_SCENARIO: default
- init: "/usr/lib/systemd/systemd"
- opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
- env:
- distro: ubuntu1604
- MOLECULE_SCENARIO: ubuntu1604
- init: "/lib/systemd/systemd"
- opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
- env:
- distro: ubuntu1804
- MOLECULE_SCENARIO: ubuntu1804
- init: "/lib/systemd/systemd"
- opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
sudo: required
cache:
- pip
before_install:
- sudo apt-get -qq update
- sudo apt-get install -o Dpkg::Options::='--force-confold' --force-yes -y docker-ce
install:
- pip install -r requirements.txt
- .travis/before.sh
script:
- .travis/test.sh
branches:
only:
- master