blob: e8e5b113cc2d332e08fb8b2ad2fd21a1b797b336 (
plain)
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
|
language: bash
services: docker
env:
- VERSION=11.0 VARIANT=fpm
- VERSION=11.0 VARIANT=apache
- VERSION=10.0 VARIANT=fpm
- VERSION=10.0 VARIANT=apache
- VERSION=9.0 VARIANT=fpm
- VERSION=9.0 VARIANT=apache
install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
before_script:
- env | sort
- cd "$VERSION"
- image="nextcloud:${VERSION}${VARIANT:+-$VARIANT}"
script:
- travis_retry docker build -t "$image" "${VARIANT}"
- ~/official-images/test/run.sh "$image"
after_script:
- docker images
|