-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (55 loc) · 2.4 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
49
50
51
52
53
54
55
language: node_js
node_js:
- 9
sudo: true
branches:
only:
- master
- "/^PR-.+$/"
cache:
if: branch != master
name: shared
directories:
- "$HOME/google-cloud-sdk"
- "~/_uw_data"
- "~/_uw_esdata"
- node_modules
yarn: true
services:
- docker
git:
quiet: true
env:
global:
- CLOUDSDK_CORE_DISABLE_PROMPTS=1
- CLOUDSDK_COMPUTE_ZONE=$GCLOUD_ZONE
- CLOUDSDK_CORE_PROJECT=$GCLOUD_PROJECT
- secure: Ho5L+pft+69TcWarsWIgj5tx6i/yyb1l7JQrLD0zZQSwEP4dFyCABbTIAUkXwnc03IWghpvR9taLLX9K/pW/Jkx5cWd1H8Dh9uhb2TDdeJWaa9h4D5rxwWuwOOUJaRA7U0VUYYk1zede6Fjv5D6UHH8lgwx9bEmSobMJ5CbnXSNFhejWU/Dvj9BfS2v5TPCA1wEa8OlX8DybFQB0uvn9dJ+FpVy9fTMTg/qHnTBMpb3cmZ53G2Vqbdu3jvq4yahSULA+V1n4ZWrxahMw9g9cbKBvLXU8ItXMxvDWi0gPJCE3kT1suBS8PfDYcajPBrfA3Mi7tcwHzJeMuEua1CI9fwOY0cpSBNUVfh+VayJgRJ3Tg1NAHtthByAXT9/yvuL+axwz0So6xST1jy4wdLpkamZ/mNqngJB+SwNbudn+J3LVOwFlzDWOg2+VSzEY4cO0oT37kO0p2B74E8nR6ECmdq1q4v8E/qYifL/h9CQD2IPI3yAnVP2/YOBgnSVfxtaAJK2htAwNx9czrTef+EPhsVwYsLFcq0quzjnuhd9cqFxcie77mbYcxzFmlnXRBYZJUKZuHSdYFVgdLjsGVPvWzeS0rq3a9AM62/2Ea+9cirwPU4MAML2kmoB1hmJdZcLkkLA+heYT5wXLxGNq3nXZ/kfI6w4di9L5A+PzhElZMZU=
- secure: lnTivCA84KSTc7g4AIGLym0h8/LOK3v/WYlUVFKfF0LxQk+aj+udtmsohDII7G86Lwe/c3Ae9BOO3i9EgxJelw7ZsdqV+qzFcOem4MhckkR23ODe3mVZjs0yaqzIA/RAROe6GNLkE4RmXPNPXsLozzsaz+hZ5KNiCTVGsW8HQ0jIyOBdzx8UPwC22fi7cq6PPUZ7w+CXj2fFbRo4+4orOqTgYpNHswz85vV07mWxajHAYGBNV2qs/xV7C5rbFdijfe+ZILnNPXmrYcKAeDWo67TGLNqcNo5Qfp4OPGF2RwNLHcPm71DTGpPlPlEnejY93ZJvtpgtP85mvN6mGypTt6XhQLEIHSzWXWBeEYUEvSg+ORH5IRuC1On9pSAbwb8ZNE/xx47w7euq3vL2bWfS7wHgfAme1s/lb3EO5FbXhOr+V7mp6OMmOFvZxxFHQEBnKUi6xhBb+GSfrC/QEKiiB3G4lpYnMfkHkW6bCpQRWv3CdSusbVwJQOLqEtOXicRYE8tXNXJ/E36aWc+CQCVW9j/EqVea4hJFfas6O7NtnAmoyR3LvnYl7TjY1KLMBj6sQc1PqacafjluSWxNedQjof1mIA9AzrmcEKrHEqG3eWfopGo2VavHXeZQSyV5FLE8pr4H/5Pm2Eg2BZPsn+B0ZeO4Z/JGr19p+QezczH1y3I=
before_install:
- |
echo SLACK_TOKEN $SLACK_TOKEN
echo TRAVIS_BRANCH $TRAVIS_BRANCH
yarn global add lerna
go get github.com/josephburnett/jd
if [[ $TRAVIS_PULL_REQUEST == false && $TRAVIS_BRANCH == master ]]; then
# . ./.ci/.auth-gcloud.sh
. ./.ci/.version.sh
else
mkdir -p ~/_uw_data
mkdir -p ~/_uw_esdata
sudo chown -R 999:999 ~/_uw_data
sudo chown -R 1000:1000 ~/_uw_esdata
. ./compose.sh
yarn
yarn seed
yarn test
fi
install: true
notifications:
slack:
on_failure: change
on_pull_requests: never
on_success: always
rooms:
- alphabio-workspace:LW3fOW5DinwD7t7gIPsaAF9X#travis