-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
59 lines (51 loc) · 4.15 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
56
57
58
59
language: node_js
cache: yarn
node_js:
- 10
- 12
before_install:
- npm i -g yarn
script:
- yarn lint
- yarn build
- yarn test
# Environment variables marked with `secure` should be securely encrypted as described at:
# https://docs.travis-ci.com/user/environment-variables/#encrypting-environment-variables
notifications:
slack:
rooms:
- secure: IQZRxOY6XEDagvx9p3mnUaDtfoGRqaFNwovlJcZ1FeOW9Cmug41CEcp6KdE+wHMKyz858enCfxNPy1xR+936A4CCRxNPOPDZFptDkqd9Lrol5slMJ2rFVy0b3CAlwDTmue6j45H3Ey4VXS5YdRB5cTr1vXELNGIowEbTylGbHWeeQJ5vy55M1pFcNy0fjF/IXc/VFjkv5t29hRVl+1AmuWXpLzQqwFFyBrjkhe4ppQzQBDFNgWkvAgGjuUMrElfTsgoX4fGxDPHeHvugBOjaYfYmu3emHe3xdYADsOdBcFkqXHzVMb/DyKI14KDPDEUDaOEy20LiZklxPJAdutTpCtE5MaahF9RZs1qqvN4fVJUf4MYnmy55CFnjV1qwsSY1tZjM5lgVldSEoQD/+7Ys06g8QPJUBfSyymyb19miQvTEFy12CQyOMMuAGaJNmyF7FblkIDxORABxLR9dNqXthmzq07JsX286iYgS548D2nm+H7uXmyTn6ZZyigVld0RCicpl9RCcamSWXKS/0Bu/hlzH9TY72+6phvKxhvUX89efwh0ktfe/PLmTvcbX1aCqDBwEeUHELXTjWnXGZ1PGix0ZUqklOI107CgivImFYw87NqYnVGryRkLV0ShNboQUsDA53qYF4jJtxkysVE3olJiYT10ZR25+Exe/TNrzQbw=
on_success: change
on_failure: always
env:
global:
- secure: NQeZe0JLWRCd3VmtH9JM+UuxpSlxQCAqD8FeBmPlwrJPX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svrLrNMPjpTtl5I16a78i487POWnGvvKTeRGwL9iENVEcIOA9sIQaABDm7ckCzqCoL5pnccvATS53vL8ctV8X9aVT4yFdRK4dunoEa4/oFLytKFstVoP88iFPY7EM2c9SuwRO9yXqDgTieuWIfRl7ZujixJzrDdP9UsMERT/s7IMZAXFFdYFWPv5QIsngdjIRcSvVysrDwi+iRKkg6YtT+hquCU435tf7qmRd++JAWXc6EeKJW0sU+vLUNsGw7jbc=
- secure: kEPZFDzBQbl+oTUb7d3vB2wR42vkr4kZbvIe5qMrS+wVuOu2UskxUBh1FWlPKGjDlCp3Nv8zSM8YeAHxqPcsXeBf7VHZTS3TcDOAENRn3Oea2Ky7HewC0F1xuI1kKRKdxs4zTQm0r+w+LBvr710d5/8l4KAsCJuzSRkwn8tgSUJx75kuPdHgsRkpOMEqpv2MZ3yoqiVD6yZGXqAuZX6ThFsXq0bqjmYadCCkdyemI29Go2lDbH3DfjLYUu5sboJKwVe2z2tLaBG+5ksG3JUn6tfd8ndKKiC3JqQOZMYeX96vnqctO4XoYlgThNYMQdQdjMcK8I5euY8LqnE+dyIaDHA8M72Bl83TOBPE7124TRaamSM+AH7xv9IYaztBuD7IvJoOjyc0m7+/1FWf5dTcMLeTSvfMvDrk9PPh8ZNX8btF+wip6KuYykuXXFgG8WlHfRSlLpWfMaojDE1oSCgmLVTDIm1bDg3gkSAwokcCYApXQ5/Gr6YYWzktj79rD5VfFxNt9c3d+O7XE4oCtFS3VwQyktQ8cLsL6Crk1e9T1rtYuTmyVKFJh8inBRl38yyHIGwMZ5tjwfdwoBC6F4LEQyLkzT4G6v12leltIetPv6T1x5W0lqRsxp8rtaDpmefVk5ARGOZzW/BhLq6KsRSy+SMGdLUDhYvLdZ3zmDKMeMA=
- export GIT_AUTHOR_NAME="EndemolShineGroupUser"
- export GIT_AUTHOR_NAME="esg-bot"
- export GIT_AUTHOR_EMAIL="[email protected]"
- export GIT_COMMITTER_NAME="esg-bot"
- export GIT_COMMITTER_EMAIL="[email protected]"
jobs:
include:
- stage: coverage
if: type != pull_request
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
after_success:
- yarn global add codecov
- codecov
- stage: release
if: branch = master AND type != pull_request
after_success:
- yarn semantic-release
- git clone https://${GH_TOKEN}@github.com/$TRAVIS_REPO_SLUG.git $TRAVIS_REPO_SLUG
- cd $TRAVIS_REPO_SLUG
- git fetch --all
- git merge origin/master
- git push