forked from jlesage/docker-baseimage-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (41 loc) · 1.01 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#
# Travis CI recipe to build, test and push docker images to the Docker Hub.
#
sudo: required
language: generic
services:
- docker
env:
global:
- DOCKER_REPO=jlesage/baseimage-gui
matrix:
- DOCKER_TAG=alpine-3.11
- DOCKER_TAG=alpine-3.11-glibc
- DOCKER_TAG=alpine-3.10
- DOCKER_TAG=alpine-3.10-glibc
- DOCKER_TAG=alpine-3.9
- DOCKER_TAG=alpine-3.9-glibc
- DOCKER_TAG=alpine-3.8
- DOCKER_TAG=alpine-3.8-glibc
- DOCKER_TAG=alpine-3.7
- DOCKER_TAG=alpine-3.7-glibc
- DOCKER_TAG=alpine-3.6
- DOCKER_TAG=alpine-3.6-glibc
- DOCKER_TAG=alpine-3.5
- DOCKER_TAG=alpine-3.5-glibc
- DOCKER_TAG=debian-8
- DOCKER_TAG=debian-9
- DOCKER_TAG=debian-10
- DOCKER_TAG=ubuntu-16.04
- DOCKER_TAG=ubuntu-18.04
before_install:
- sudo add-apt-repository ppa:duggan/bats --yes
- sudo apt-get -qq update
- sudo apt-get install -y bats
- sudo apt-get install -y nmap
before_script:
- hooks/pre_build
script:
- |
hooks/build && \
env DOCKER_IMAGE="$DOCKER_REPO:$DOCKER_TAG" bats tests