forked from jviexonet/media-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 995 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
dist: xenial
sudo: required
language: minimal
addons:
apt:
update: true
before_install:
- cd .tests/
- sudo curl -L "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/shunit2/shunit2-2.1.6.tgz" | tar zx
- sudo pip install -U bashate
- sudo snap install yq
- cd ..
jobs:
include:
- stage: validate
script:
- sudo bash ./media-docker.sh -t v_bashate
- sudo bash ./media-docker.sh -t v_shellcheck
- stage: test
script:
- sudo bash ./media-docker.sh -t t_ports
- sudo bash ./media-docker.sh -t t_unit
- sudo bash ./media-docker.sh -t t_compose
branches:
only:
- master
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/4a0a4fbecf6a8e55d891
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always