mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-19 18:36:09 +02:00
added travis config
This commit is contained in:
parent
b1089b58b9
commit
9146eb11d4
1 changed files with 23 additions and 0 deletions
23
.travis.yml
Normal file
23
.travis.yml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
language: bash
|
||||||
|
services: docker
|
||||||
|
|
||||||
|
env:
|
||||||
|
- VARIANT=php5.6/fpm
|
||||||
|
- VARIANT=php7.0/alpine-fpm
|
||||||
|
|
||||||
|
install:
|
||||||
|
- git clone https://github.com/docker-library/official-images.git ~/official-images
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- env | sort
|
||||||
|
- cd "$VARIANT"
|
||||||
|
- slash='/'; image="nextcloud:${VARIANT//$slash/-}"
|
||||||
|
|
||||||
|
script:
|
||||||
|
- docker build -t "$image" .
|
||||||
|
- ~/official-images/test/run.sh "$image"
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- docker images
|
||||||
|
|
||||||
|
# vim:set et ts=2 sw=2:
|
Loading…
Add table
Reference in a new issue