-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
38 lines (36 loc) · 1.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
language: node_js
node_js:
- '12.13'
branches:
only:
- main
- "/^v?\\d{1}\\.\\d{1,2}.\\d{1,2}$/"
# script:
# - yarn install
# - npm config set '//registry.npmjs.org/:_authToken' "${NPM_AUTH_TOKEN}"
script:
- npm test
- npm install codecov -g
- npm install coveralls --save-dev
- git restore package.json
before_deploy: npm run build
deploy:
edge: true
provider: npm
email: luxuemin2108@gmail.com
# cleanup: true
api_key:
secure: WK1Ggb6NQfiXdgN4MCzbpx8JFyTUF8kS8Y0fSKl5OoHbvVFXeNlmsXAupVV7Lksl+Gnz3VrKZQHU3g7ldoR8O1emX3+Y5pvVtoSm0tp/75aNtCrLJSbzvFvOf/al3zPJoKOngVQeObDHlXh7K8nbwMsuirsSAmYtXuRseFEqZ9paz+AOXhTvlRGyz4ERthyecdoT04IVHDRtPqo5gcfdpYKPw8UAFWkVsVKFtqVS24XINa6ASilPsrOi8PVoEd9k7Fi2iEoawQmmVzPIZyOarNCEdq8TlF76JlIdwzRcI9h9hA04kcFJ9WemDBMR5cRywnUBDgfhUz9twAuYSUuHhmxgOYN+AY596B/RFH0b7INs/Nx9naAn+DRC2UY/flc4AhJiqJzYrywQcYb4bjpKCi7upKxDBA4k7U7m+pQyhIyGO2bLjYGkbldcb9TE6kguDnk7vYeE1+i5OySXxh8eKDzAfjO8CTPdfwF8jkqLNNgO1f0FLdYUkMH9CYwmcd2bFbqMSERhWeue+YJBeWXEsS8/dqyEmUDxnntfnM/CiPEdCi/p1CMLaCFepzWvyVBEpNnDeLCJi+8JtBq0uFuqr3kerEIzbynHNa4+UN7S5O3AypyO3QVDy4rpHHfQwwjxIIW2MWC7/IIo6pPdddRWzHCT/dUSmEd6HBTkeVmZp1Q=
on:
tags: true
repo: jackluson/babel-plugin-styled-components-px2vw
branch: main
after_success:
- codecov -f coverage/*.json
- npm run coveralls
notifications:
email:
recipients:
- luxuemin2108@gmail.com
on_success: never
on_failure: always