forked from galaxyproject/galaxy-helm
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
35 lines (31 loc) · 930 Bytes
/
Copy path.travis.yml
File metadata and controls
35 lines (31 loc) · 930 Bytes
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
---
language: python
env:
global:
- HELM_URL=https://storage.googleapis.com/kubernetes-helm
- HELM_TGZ=helm-v2.8.2-linux-amd64.tar.gz
- TARGET_BR=gh-pages
- REPO_DIR=/home/travis/build/galaxy/galaxy-kubernetes
- GH_URL=https://galaxy.github.io/galaxy-kubernetes
- YAMLLINT_VERSION=1.8.1
install:
# Installing Helm
- wget -q ${HELM_URL}/${HELM_TGZ}
- tar xzfv ${HELM_TGZ}
- PATH=`pwd`/linux-amd64/:$PATH
- helm init --client-only
# Installig pip deps
#- sudo pip install yamllint=="${YAMLLINT_VERSION}"
script:
# Check charts format
- >
for dir in galaxy; do
helm lint $dir
if [ $? != 0 ]; then
travis_terminate 1
fi
done
# Check YAML styling
#- yamllint -c .yamllint.yml -s .travis.yml .yamllint.yml
#- yamllint -c .yamllint.yml -s $(find . -type f -name "Chart.yaml")
#- yamllint -c .yamllint.yml -s $(find . -type f -name "values.yaml")