forked from IBM/Kubernetes-container-service-GitLab-sample
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
40 lines (31 loc) · 785 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
35
36
37
38
39
40
---
language: python
python: 2.7
cache: pip
sudo: required
dist: trusty
notifications:
webhooks: https://openwhisk.ng.bluemix.net/api/v1/namespaces/Developer%20Advocacy_Cloud%20Developer%20Advocacy/actions/travisreporting-olaph/processbuild
slack:
rooms:
- "$SLACK_ROOM"
on_pull_requests: false
on_success: change
services:
- docker
matrix:
fast_finish: true
env:
- TEST_RUN="./tests/test-docker-compose.sh"
- TEST_RUN="./tests/test-minikube.sh"
- TEST_RUN="./tests/test-kubernetes.sh"
before_install:
- sudo apt-get install shellcheck
- pip install -U -r test-requirements.txt
install:
- "./scripts/install.sh"
- "./scripts/bx_auth.sh"
before_script:
- "./tests/test-shellcheck.sh"
- "./tests/test-yamllint.sh"
script: "$TEST_RUN"