@@ -9,41 +9,8 @@ branches:
99 only :
1010 - master
1111
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 "[email protected] " 23- - git config --global user.name "Travis Bot"
24- # Cloning destination repository.
25- - cd -
26- - cd ../
27- # - git clone https://[email protected] /ODMDev/odm-helm-charts-repo.git 28- # - cd odm-helm-charts-repo/
29- # - git remote rm origin
30- # - git remote add origin https://[email protected] /ODMDev/odm-helm-charts-repo.git 31- # - cd ../odm-docker-kubernetes/helm/stable
32-
3312# Building the documentation.
3413script :
3514 # Make error if 'LICENSE(D) and IBM are found on a same line.'
3615 - 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