-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
28 lines (27 loc) · 820 Bytes
/
.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
language: node_js
node_js:
- '10'
install:
# - curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
# - chmod +x ./kubectl
# - sudo mv ./kubectl /usr/local/bin/kubectl
- printf "#\!/bin/sh\n\necho 1234" > ./kubectl
- cat ./kubectl
- chmod +x ./kubectl
- sudo mv ./kubectl /usr/local/bin/kubectl
- mkdir ${HOME}/.kube
- echo "$KUBE_CONFIG" | base64 --decode > ${HOME}/.kube/config
- ls ${HOME}/.kube
- npm i
script: npm test && npm run lint && npm run build
jobs:
include:
- stage: release
node_js: lts/*
script: skip
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release
all_branches: true