2020-07-23 21:26:53 +00:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- main
|
|
|
|
- test
|
|
|
|
- travis_docker_testing
|
|
|
|
|
2019-12-28 21:42:20 +00:00
|
|
|
env:
|
2020-07-23 21:30:40 +00:00
|
|
|
- DOCKER_COMPOSE_VERSION=1.25.5
|
2020-01-14 02:02:04 +00:00
|
|
|
|
2020-07-23 21:26:53 +00:00
|
|
|
before_install:
|
|
|
|
- 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
|
2020-07-23 22:09:39 +00:00
|
|
|
- cd docker/travis
|
2020-07-23 21:26:53 +00:00
|
|
|
# install:
|
|
|
|
# - docker build -t hnakamur/example .
|
|
|
|
script:
|
|
|
|
- ./run-tests.sh
|