forked from jfrog/charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (38 loc) · 1.27 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
34
35
36
37
38
39
40
41
42
sudo: required
dist: trusty
services:
- docker
jobs:
include:
- stage: lint-scripts
name: "Lint shell scripts"
script:
- echo "Run shell scripts linting!"
- ./test/lint-scripts.sh
- stage: charts-testing
name: "Lint and install charts"
env:
- CHART_TESTING_IMAGE=quay.io/helmpack/chart-testing
- CHART_TESTING_TAG=v2.0.1
- TEST_IMAGE=gcr.io/kubernetes-charts-ci/test-image
- TEST_IMAGE_TAG=v3.0.1
- CHARTS_REPO=https://github.com/jfrog/charts
- K8S_VERSION="v1.11.3"
script:
- echo "Run chart-testing linting!"
- ./test/lint-charts.sh
- >
if cat tmp/lint.log | grep "No chart changes detected" > /dev/null; then
echo "No chart changes detected, stopping TravisCI pipeline!"
travis_terminate 0
fi
- echo "Run charts-testing install test!"
# ping stdout every 9 minutes or Travis kills the build
# https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
- while sleep 9m; do echo "=====[ $SECONDS seconds still running ]====="; done &
- ./test/e2e-github.sh
stages:
- lint-scripts
- charts-testing
notifications:
email: false