0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-11-17 18:46:43 +01:00
nextcloud-docker/.travis.yml

34 lines
781 B
YAML
Raw Normal View History

2017-03-14 10:48:58 +01:00
language: bash
services: docker
env:
- VERSION=12.0 VARIANT=fpm
- VERSION=12.0 VARIANT=apache
2017-03-14 10:48:58 +01:00
- VERSION=11.0 VARIANT=fpm
- VERSION=11.0 VARIANT=apache
- VERSION=10.0 VARIANT=fpm
- VERSION=10.0 VARIANT=apache
install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
before_script:
- env | sort
- image="nextcloud:${VERSION}${VARIANT:+-$VARIANT}"
2017-04-01 16:39:41 +02:00
- hash_before=$(git write-tree)
2017-03-14 10:48:58 +01:00
script:
2017-04-01 16:39:41 +02:00
# Test Image
- travis_retry docker build -t "$image" "${VERSION}/${VARIANT}"
2017-03-14 10:48:58 +01:00
- ~/official-images/test/run.sh "$image"
2017-04-01 16:39:41 +02:00
# Test generate-stackbrew-library.sh
- ./generate-stackbrew-library.sh
# Test update.sh
- ./update.sh
- bash -c "[[ $hash_before = $(git add -A && git write-tree) ]]"
2017-03-14 10:48:58 +01:00
after_script:
- docker images