This repository has been archived on 2021-08-31. You can view files and clone it, but cannot push or open issues or pull requests.
mattermost/.travis.yml

23 lines
483 B
YAML

sudo: required
services:
- docker
before_install:
- docker build -t mattermost-prod-db db
- docker build -t mattermost-prod-app app
install:
- eval $BUILD
- sleep 10
env:
- BUILD="docker-compose up -d"
- BUILD="docker run -d --name db mattermost-prod-db && sleep 5 && docker run -d --link db -p 80:80 --name app mattermost-prod-app"
script:
- curl -sSf http://localhost > /dev/null
after_failure:
- timeout 3s docker-compose logs app db web