mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-18 02:56:42 +01:00
26 lines
558 B
YAML
26 lines
558 B
YAML
|
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
|