Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrateau authored Oct 13, 2020
1 parent 488f92b commit 4680ba4
Showing 1 changed file with 1 addition and 34 deletions.
35 changes: 1 addition & 34 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,41 +9,8 @@ branches:
only:
- master

install:
# Get ICP CV
- scripts/./get-icp-cv.sh
# Install `helm` in travis environment.
- ls $GOPATH
- cd $GOPATH/src/
- curl https://kubernetes-helm.storage.googleapis.com/helm-v2.6.1-linux-386.tar.gz > helm.tar.gz
- tar xzf helm.tar.gz
- mv linux-386/helm $GOPATH/bin/
# Setting Git user.
- git config --global user.email "[email protected]"
- git config --global user.name "Travis Bot"
# Cloning destination repository.
- cd -
- cd ../
# - git clone https://[email protected]/ODMDev/odm-helm-charts-repo.git
# - cd odm-helm-charts-repo/
# - git remote rm origin
# - git remote add origin https://[email protected]/ODMDev/odm-helm-charts-repo.git
# - cd ../odm-docker-kubernetes/helm/stable

# Building the documentation.
script:
# Make error if 'LICENSE(D) and IBM are found on a same line.'
- sh -c "! egrep -ri '(LICENSE[D]?).*(IBM)' --exclude='.travis.yml' ."
# - helm init -c
# - $HOME/.cache/cv lint odmcharts
# --strict should mark warnings as errors. grep make exit 1 on error(s).
# Enable When warnings are closed.
# - $HOME/.cache/cv lint --strict odmcharts | tee /dev/tty | grep "no failures"
# - helm package odmcharts
# - cp *.tgz ../../../odm-helm-charts-repo/
# - cd ../../../odm-helm-charts-repo/
# - helm repo index ./ --url https://odmdev.github.io/odm-helm-charts-repo/
# - git status
# - git add .
# - git commit -m "doc updated via travis build."
# - git push --set-upstream origin master

0 comments on commit 4680ba4

Please sign in to comment.