-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
69 lines (69 loc) · 7.04 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
60
61
62
63
64
65
66
67
68
69
sudo: required
language: node_js
dist: trusty
node_js:
- '8'
services:
- node
addons:
code_climate:
repo_token:
branches:
except:
- "/^pr\\..*/"
- "/^features\\..*/"
before_install:
- git clone https://github.com/djanta/travis-npm-deploy.git ~/travis-npm-deploy
- chmod +x ~/travis-npm-deploy/deploy.sh && chmod +x ~/travis-npm-deploy/npm/*.sh
- bash ~/travis-npm-deploy/deploy.sh --git-config
install:
- bash ~/travis-npm-deploy/deploy.sh --install
- npm i --verbose
- 'echo "repo_token: $COVERALLS_REPO_TOKEN" > "./.coveralls.yml"'
- npm run-script snyk-login -- $SNYK_TOKEN
script:
- npm test
- npm run-script coverage
after_script:
- npm run-script coverage-publish
after_success:
- echo "Publishing snyk monitoring snapshot"
- npm run-script snyk-monitor
before_deploy:
- bash ~/travis-npm-deploy/deploy.sh login --user=$NPM_USER --password=$NPM_PWD --email=$NPM_EMAIL
deploy:
- provider: script
skip_cleanup: true
email: "$NPM_EMAIL"
script: "~/travis-npm-deploy/deploy.sh"
on:
tags: true
repo: djanta/eslint-config-djantajs
after_deploy:
- bash ~/travis-npm-deploy/deploy.sh logout
notifications:
email: false
slack:
rooms:
- "${SLACK_TRAVISCI_TOKEN}#travis-ci"
- "${SLACK_TRAVISCI_TOKEN}#tools"
on_success: always
template:
- Build <%{build_url}|#%{build_number}> (<%{compare_url}|%{commit}>) of %{repository}@%{branch}
by %{author} %{result} in %{duration}
webhooks:
urls:
- "$WEBHOOK_GITTER"
on_success: change
on_failure: always
on_start: never
env:
global:
- secure: R7/VGfE9o2NmhkYsnOjQ/fplVtP/i9vzykeNdJeEAM5pe6D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