-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
33 lines (33 loc) · 1.47 KB
/
.travis.yml
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
28
29
30
31
32
33
sudo: required
language: go
services:
- docker
env:
global:
- DOCKER_VERSION=1.12.0-0~trusty
- DOCKER_COMPOSE_VERSION=1.7.0
branches:
except:
- /^v\d/
before_install:
- apt-cache madison docker-engine
- 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
- sudo add-apt-repository ppa:duggan/bats --yes
- sudo apt-get update -qq
- sudo apt-get install -qq bats
install:
- docker-compose -f docker-compose.travis.yml build
- docker-compose -f docker-compose.travis.yml up -d
script:
- docker version
- docker-compose version
- bats tests/ghost.bats
notifications:
email:
on_success: never
slack:
secure: l+zdRkRcA8GjnekR5MMUSRfTItz4qMEm9+N64kLJ/AHYEJzYbSsOyxxlZB+27vNv6h++zDDRfodS3oTg/OaANPvdRjczDlUT9ERsLyRJUOETS18Md48Z3PNQ7COory4V0XXShubRjLNr0SqarTyV8VNuYn8OmrICwDYwT/LZrhXy0dIvLQlf0eREZibpCyXnKN2W896y/UejdsClDlzPgHY6oAfs2iWvUW7mqyrmD/DLyRauCz4SZbjFVhJYeEBtsN93uStgBBWeWjsM8rGE6EZEPEMevrn8XZVxtv4LOQxtWoOasqvhB/o11zhAHqipRDyp8zMhHiERDi1u8c04pEE9KGq2x7cXNYwn45JzFwHl9IaUbHFT7iT5Q6HXju5Rlc2SqT2sPrQotGH0EdHV8cZAFVkabWpiDPnnH9nO27vSnNvws/uZRUZK1Z0LVhJBf+E1JxnWYiXqJfT4YJvzQvUdXjxyds2WB/tJbABIAS4kvbMJ+taBzHAL50zHsGeH3bN5iVf6NpSXK+weLRcdx7JxzgZaWY/VijGGvl18qnYctzOPxqLcxcSPsott0l0MTJERQcqQDb0CXzKlJz8cdaLMqrgT/ufvpC0Ss/GL/UoF3sxgE3M+M7N0afo+yJWyKwBiidrMSPsHr7G6N6L6vgHAZhwzXqxQvm7CCTCQ8u4=