-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
48 lines (40 loc) · 1.06 KB
/
.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language: go
dist: xenial
os: linux
sudo: required
go:
- 1.14.x
services:
- docker
vm:
size: large
env:
jobs:
- TEST_SUITE=Kubernetes
- TEST_SUITE=docker
global:
- HELM_VERSION="v3.10.2"
- KUBERNETES_VERSION=1.25.2
- MINIKUBE_VERSION=1.28.0
- MINIKUBE_WANTUPDATENOTIFICATION=false
- MINIKUBE_WANTREPORTERRORPROMPT=false
- MINIKUBE_HOME=$HOME
- CHANGE_MINIKUBE_NONE_USER=true
- KUBECONFIG=$HOME/.kube/config
- NUODB_HELM_CHARTS_VERSION="3.5.0"
before_install:
- |
BASE_COMMIT=$(git merge-base HEAD master)
MODIFIED_FILES=$(git diff --name-only "${BASE_COMMIT}")
# waiting for native solution https://github.com/travis-ci/travis-ci/issues/6301
if ! echo "${MODIFIED_FILES}" | grep -qvE '(\.md$)'; then
echo "Only docs were updated, stopping build process."
exit
fi
- sudo apt-get update
- sudo apt-get install socat
- chmod +x scripts/ci/install_deps.sh
- scripts/ci/install_deps.sh
script:
- chmod +x scripts/ci/determine_and_run_tests.sh
- scripts/ci/determine_and_run_tests.sh