forked from ComplianceAsCode/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (26 loc) · 988 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
sudo: required
services:
- docker
language: python
matrix:
include:
- env: BASE_IMAGE="fedora_python3"
before_install:
- docker build --no-cache --tag ssg_$BASE_IMAGE:latest -f Dockerfiles/$BASE_IMAGE .
script:
- docker run ssg_$BASE_IMAGE:latest
- env: BASE_IMAGE="ubuntu"
before_install:
- docker build --no-cache --tag ssg_$BASE_IMAGE:latest -f Dockerfiles/$BASE_IMAGE .
script:
- docker run ssg_$BASE_IMAGE:latest
- env: BASE_IMAGE="fedora_python2"
before_install:
- docker build --no-cache --tag ssg_$BASE_IMAGE:latest -f Dockerfiles/$BASE_IMAGE .
script:
- docker run ssg_$BASE_IMAGE:latest
- env: BASE_IMAGE="centos8"
before_install:
- docker build --no-cache --tag ssg_$BASE_IMAGE:latest -f Dockerfiles/$BASE_IMAGE .
script:
- docker run ssg_$BASE_IMAGE:latest