-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
25 lines (23 loc) · 1.09 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
sudo: required
env:
DOCKER_COMPOSE_VERSION: 1.6.0
services:
- docker
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
- sudo apt-get update
- sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" install docker-engine
install:
- docker-compose -f ./config/jenkins/cluster.yml -f ./config/jenkins/cluster.dev.yml up -d
- docker-compose -f ./config/vault/cluster.yml -f ./config/vault/cluster.dev.yml up -d
script:
- docker ps | grep jenkins-master-service | grep -v Restarting
- docker ps | grep snappy-proxy | grep -v Restarting
- docker ps | grep jenkins-slave-xenial | grep -v Restarting
- docker ps | grep jenkins-slave-vivid | grep -v Restarting
- docker ps | grep snapversion | grep -v Restarting
- docker ps | grep consul | grep -v Restarting
- docker ps | grep vault | grep -v Restarting