forked from monasca/monasca-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (30 loc) · 928 Bytes
/
.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
34
sudo: required
services:
- docker
language: python
addons:
apt:
sources:
- debian-sid # Grab shellcheck from the Debian repo (o_O)
packages:
- shellcheck
env:
- IGNORE_DOCKER_VERSION=true PYTHONUNBUFFERED=true
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y install docker-ce
- pip install pip --upgrade
- pip install git+https://github.com/timothyb89/dbuild.git
- pip install google-cloud-storage
- docker --version
- docker-compose --version
jobs:
include:
- stage: lint-shellcheck
script: bash -c 'shopt -s globstar; shellcheck **/*.sh'
- stage: metrics-pipeline
script: python ci.py metrics
- stage: logs-pipeline
script: python ci.py logs False