forked from OriHoch/socialmap-app-main-page
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (42 loc) · 3.05 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
dist: trusty
sudo: required
language: node_js
node_js:
- "8"
os:
- linux
env:
global:
- DBUS_SESSION_BUS_ADDRESS=/dev/null
- DISPLAY=:99.0
- CHROME_BIN=chromium-browser
- K8S_OPS_REPO_BRANCH=master
- K8S_OPS_REPO_SLUG=OpenBudget/budgetkey-k8s
- DOCKER_IMAGE=budgetkey/socialmap-app-main-page
- DEPLOY_YAML_UPDATE_FILE=values.auto-updated.yaml
- DEPLOY_VALUES_CHART_NAME=socialmap
- DEPLOY_VALUES_IMAGE_PROP=mainpageImage
- DEPLOY_COMMIT_MESSAGE="automatic update of socialmap-app-main-page"
- DEPLOY_GIT_USER=budgetkey-deployer
- secure: jeqp3wST22MCkI55JKxe1cZ+Z4uT/+MYcwrhrQo+6Fm63AipYLn42nkwb+mogY72yCqPyB1dHMVnSUmJDCzTEbPYyqS3+7w/wZdo3lVGYtHt1XkJ5ZcU+J64XoyWqZJgwEyeL99j/Uc9g3mtlkTUEWynsCh3lLgxx/4g52BeKNn7mDU0QtlTfpXhEHnS2ww+Hwoe1co6Ud8ZmxByXjiXiuRD+uIIF5NZv48KMfLEnCJVzEnZbW+fBi4sjILJEkYDuXkxkQkDjGZiawFA2J7Y1fMWD0+h9hRihGTUx5q3o5xl8ljzsj9oqHTlcm3uRxJQIQaTgZEnil3sTMv87t/xLtE0MMfn6aPJrfHkx647abaG2rsLY5nedYEh7A1a/gcahh7CMAA9E9o+wm8q4plwF7qZgb2pCiwHdY68ASdIDJ2mxkLsDIO0RiUnRHwNtn5938enwy/88/lzOxDZ/dqrkBpTO4W+RNJhG0f4RRFRuxyJDj72gmGol15Iz75GnJY0SEz6ItiDQWWMTSrucjn0rZ6o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MQuPRkzJZd2TqN/AJud7b9c0u1DjgkhT7Ltw1dBClindzeKlbgkQ7gTglbHfIiYFHaRQRKWhW/skyg1zrRNBcAqvaOSG9CiNgWT/lFodKVdqqL+Q0dEuPkbSEfiw/qg4nFApVDiiqaxSGejyQwwzj8DCfDZnYdUbyUAQaHuEhhdwNJ6kU545abZTsuSXfiwpsFuL4gl6PKltvsRzMO4F6kMCLQK5rAON2/L2BJMlRA+s7IGXA4GWKHbtUpc2poIXeo74aUZLMxmZRCYbcaeoHAjHYrU2d/TJQs+zq/OyuOI7SdB3oDSCuAWjgqrK9qXk44z2vh0jG/KZP9twl9JhIC1cZSFGa/ccsETFmw5HAcsOQChrHhYK5R2sv9uewdlYdKQKhc1NM2SH4IFMrE4+a5D+zFG5K9la/QdOMzv7zIEBNcTfklY33nU=
services:
- docker
before_install:
- curl -s https://raw.githubusercontent.com/OpenBudget/budgetkey-k8s/master/apps_travis_script.sh > .travis.sh
- bash .travis.sh script
before_script:
- sh -e /etc/init.d/xvfb start
install:
- npm install
script:
- npm run lint
- npm run test
deploy:
skip_cleanup: true
provider: script
script: bash .travis.sh deploy
on:
branch: master