-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
30 lines (30 loc) · 1.3 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
branches:
only:
- master
- "/^greenkeeper/.*$/"
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
language: node_js
node_js:
- 14.2.0
cache:
directories:
- "~/.npm"
- ".jest"
jobs:
include:
- stage: test
if: commit_message !~ /(travis-deploy)/
script:
- yarn test:ci
- stage: release
if: branch = master AND (NOT type = pull_request) AND (commit_message !~ /(travis-deploy)/)
script:
- yarn semantic-release
- stage: deploy
if: branch = master AND (NOT type = pull_request) AND (commit_message =~ /(travis-deploy)/)
deploy:
provider: heroku
app: express-ts-starter
api_key:
secure: dHLX2HPYWv2UxYk90ANOs34FeP9pJs8jzVW3G+y+pwHhz2L/eYaZsggQK03Mpoaz4gCpY5XcF7sWy/2sGJMAcnYMD2ZyV6GCY1usIoFh3RDSvjO7MZ8DKlMGqn7zC1wzSEoTQcdqjRLvW+SzOMcctJbFter1niIZ3a76abmepOJZVHkGAIuSTxL3thQGoBpWsvS69avXsVC3VcQWcwBnX/smihKyxI8oLmTBMj/D5S7IfLAS0VFKKI2tUKHf9RIQDp+yW4MU6NJC6BHMXsX4CA1CVw5gFv7VqSNshjRxh0+5Z2Cj3L+E0USUyTjZx5F8VhMs2PJKYXO4OYSkd2h0nQaVFgXv6Vs6ihZ1EtNXPjnloVEAXB7/qXb+4Kwh5xGy6fnL5puA7n7TxxK6+s4YqKHTGraIDXfwr0PG3kqu7SZrf9tpai18sEYzE4C7/INaKJ/3+77HXHoEXN5FhHdTEbbYtU59O/3UuAP9qbweDgv0MLII54bSxmg61sJVt+ELf7VWDssB56hru3trXOhCtz4+7qHUK+b9PXYSpaKM1Ew+8hYeK+8NvzUZbLS+zj8Cf4U9b1HTs+mEoAG52sikftTokcUW6zmLxeU1R4uuSF5BCMg3+XvGKV6Xq9uTdS9XQGqneT/yGw8cFeSdlM+b1sva/vfYvkOeFIFUZt9Dhhc=