forked from jfrog/charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (25 loc) · 830 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
sudo: false
services:
- docker
env:
global:
- CHART_TESTING_TAG="v1.0.5"
- TEST_IMAGE_TAG="v2.0.5"
- CHARTS_REPO="https://github.com/jfrog/charts"
before_script:
- docker pull gcr.io/kubernetes-charts-ci/chart-testing:"${CHART_TESTING_TAG}"
script:
- echo "Run charts-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 full charts-testing on GKE!"
# ping stdout every 9 minutes or Travis kills 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-gke.sh
notifications:
email: false