@@ -9,41 +9,8 @@ branches:
9
9
only :
10
10
- master
11
11
12
- install :
13
- # Get ICP CV
14
- - scripts/./get-icp-cv.sh
15
- # Install `helm` in travis environment.
16
- - ls $GOPATH
17
- - cd $GOPATH/src/
18
- - curl https://kubernetes-helm.storage.googleapis.com/helm-v2.6.1-linux-386.tar.gz > helm.tar.gz
19
- - tar xzf helm.tar.gz
20
- - mv linux-386/helm $GOPATH/bin/
21
- # Setting Git user.
22
- - git config --global user.email "travis-bot@fake.mail"
23
- - git config --global user.name "Travis Bot"
24
- # Cloning destination repository.
25
- - cd -
26
- - cd ../
27
- # - git clone https://$GITHUB_TOKEN@github.com/ODMDev/odm-helm-charts-repo.git
28
- # - cd odm-helm-charts-repo/
29
- # - git remote rm origin
30
- # - git remote add origin https://$GITHUB_TOKEN@github.com/ODMDev/odm-helm-charts-repo.git
31
- # - cd ../odm-docker-kubernetes/helm/stable
32
-
33
12
# Building the documentation.
34
13
script :
35
14
# Make error if 'LICENSE(D) and IBM are found on a same line.'
36
15
- sh -c "! egrep -ri '(LICENSE[D]?).*(IBM)' --exclude='.travis.yml' ."
37
- # - helm init -c
38
- # - $HOME/.cache/cv lint odmcharts
39
- # --strict should mark warnings as errors. grep make exit 1 on error(s).
40
- # Enable When warnings are closed.
41
- # - $HOME/.cache/cv lint --strict odmcharts | tee /dev/tty | grep "no failures"
42
- # - helm package odmcharts
43
- # - cp *.tgz ../../../odm-helm-charts-repo/
44
- # - cd ../../../odm-helm-charts-repo/
45
- # - helm repo index ./ --url https://odmdev.github.io/odm-helm-charts-repo/
46
- # - git status
47
- # - git add .
48
- # - git commit -m "doc updated via travis build."
49
- # - git push --set-upstream origin master
16
+
0 commit comments