Skip to content

Commit

Permalink
Merge pull request appropriate#11 from appropriate/travis
Browse files Browse the repository at this point in the history
Add Travis build  πŸ™Œ
  • Loading branch information
md5 committed May 21, 2015
2 parents 6a38e70 + 2e26e3f commit 47ef501
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
language: bash

dist: trusty

env:
- VERSION=9.2 VARIANT=jre7
- VERSION=9.2 VARIANT=jre8
- VERSION=9.3 VARIANT=jre7
- VERSION=9.3 VARIANT=jre8

install:
- git clone https://github.com/docker-library/official-images.git ~/official-images

before_script:
- env | sort
- cd "$VERSION-$VARIANT"
- image="jetty:$VERSION-$VARIANT"

script:
- docker build --pull -t "$image" .
- ~/official-images/test/run.sh "$image"

0 comments on commit 47ef501

Please sign in to comment.