-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
36 lines (31 loc) · 1.55 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
language: node_js
node_js:
- 12
services:
- docker
env:
matrix:
- DOCKER_COMPOSE_VERSION=1.25.4
global:
secure: "K2AfRZHJtJez+iRH2AbzAjD/yew60JeEas54VTtW5kOFT8guQGI9xcMoTMHGtNoCSazHCIeoBWaD9haJysgF3/4mTCHFG32RhibpbdkZ5pLz8j8vWjW6f36WITWSQUC2cjWHJZtGqRKec9/SyC3BWeV7exgyHDyTIkMtEUbx5EJk1+Mtmuf7GYGzbQbdvyICd1x80sIHUwHG+/e2JmN6dcMc483Zsekzltv4IKFMFwd5Tryryfl6+Vj6gt9kHpuaHlKUEW5mgcEg9HnEy+MO1aGdUqp/luTVy5VVEJVSEmim0rqGq12reFb1fRoKvhxcN7T7M0AIOBvmiqNea3hzuj4R1hXbaacmuQDydaNySx2VgQzoLfgE3CdsUu9Yz2dv6alNbxUYtx9aV/vzIhCkATb1tyYsKIfqEBpMiuiEw1RHK0G3sfl+55PQ2NPrcXbyb1UqgBU5wjJQ1wDuIp6GuxT4huJ6P4ij4BuDeNAZGVXHUJdJ9sFwjYAyG06hDUtN9XO7s5E1pxx+TzyfxcMGBQtgN+AcaUSIL39/k/mWKLmPqPjnc6OoznXfGlyrCsjAXmAoBVp4yZYi7XzybDqVBaOpZt9QYTf0KoZDtYuEwrjlxa9m9bmgoxcYc3+4TikS1GVxP1PBtYl+VOAEpVJimTZbMNL2nWKLb7RI++gDf7w="
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname
-s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
install:
- yarn install
jobs:
include:
- stage: build docker image
if: type = pull_request or branch =~ /^\d+.\d+.\d+$/
script:
- "./scripts/integration.sh"
- stage: Deploy Docs
if: type != pull_request and branch = '1.10.0'
script:
- git config --global user.email "${GH_EMAIL}"
- git config --global user.name "${GH_NAME}"
- echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc
- cd website && yarn && GIT_USER="${GH_NAME}" yarn deploy