forked from getsentry/docker-sentry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (21 loc) · 763 Bytes
/
.travis.yml
File metadata and controls
27 lines (21 loc) · 763 Bytes
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
26
27
language: bash
services: docker
env:
- VERSION=8.4
- VERSION=8.5
install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
before_script:
- env | sort
- cd "$VERSION"
- image="$(awk '$1 == "FROM" { print $2; exit }' onbuild/Dockerfile || echo "sentry:${VERSION}")"
script:
- docker build -t "$image" .
- ~/official-images/test/run.sh "$image"
- $TRAVIS_BUILD_DIR/test/run.sh "$image"
- if [ -f onbuild/Dockerfile ]; then docker build -t "$image-onbuild" onbuild; fi
- if [ -f onbuild/Dockerfile ]; then ~/official-images/test/run.sh "$image-onbuild"; fi
- if [ -f onbuild/Dockerfile ]; then $TRAVIS_BUILD_DIR/test/run.sh "$image-onbuild"; fi
after_script:
- docker images
# vim:set et ts=2 sw=2: