0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-25 21:00:53 +02:00

Add initial .travis.yml

This commit is contained in:
Tilo Spannagel 2017-03-14 10:48:58 +01:00
parent b9bae3112c
commit 8389d9659d
No known key found for this signature in database
GPG key ID: B89F1626A58E1429
2 changed files with 35 additions and 0 deletions

25
.travis.yml Normal file
View file

@ -0,0 +1,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