-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (30 loc) · 914 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
29
30
31
32
33
34
35
36
language: node_js
sudo: true
node_js:
- "10.3.0"
services:
- docker
cache:
directories:
- "$HOME/google-cloud-sdk/"
- "$HOME/kubectl/"
# Use npm to install any local dependencies. This needs to install the dev
# dependencies as well because the 'npm run build' step uses them for some
# transpiling.
#
# See here for why 'ci' is used instead of 'install':
# https://docs.npmjs.com/cli/ci
install:
- make install
# Run the test suite and then the build step to perform any tranpiling
# steps to output final code.
script:
- make script
# Assemble a docker image and publish it to dockerhub. This step requires
# the DOCKER_USER and DOCKER_PASS environment variables to be set. These
# are provided to travis in an encrypted form as secrets.
#
# The kubernetes cluster is configured to automatically pull the latest
# version out of the dockerhub repo.
after_success:
- make after_success