-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Travis CI support Simple build test * ignore .travis.yml in Docker context
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ CONTRIBUTING.md | |
Changelog.md | ||
Makefile | ||
docker-compose.yml | ||
.travis.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
sudo: required | ||
|
||
services: | ||
- docker | ||
|
||
env: | ||
global: | ||
- DOCKER_VERSION=1.10.1-0~trusty | ||
- DOCKER_COMPOSE_VERSION=1.7.1 | ||
|
||
before_install: | ||
# list docker-engine versions | ||
- apt-cache madison docker-engine | ||
|
||
# upgrade docker-engine to specific version | ||
- sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION} | ||
|
||
# reinstall docker-compose at specific version | ||
- sudo rm /usr/local/bin/docker-compose | ||
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose | ||
- chmod +x docker-compose | ||
- sudo mv docker-compose /usr/local/bin | ||
|
||
script: | ||
- docker-compose build | ||
|
||
notifications: | ||
email: false |