Skip to content

Commit 04e95e0

Browse files
ci(travis): run commitlint first in script
1 parent b72d102 commit 04e95e0

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.travis.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
language: node_js
22
node_js:
3-
- stable
3+
- stable
44
install:
5-
- npm install
5+
- npm install
66
script:
7-
- npm run lint
8-
- npm run dtslint
9-
- npm run cover
10-
- npm run build
11-
- npm run benchmark
7+
- npx commitlint -e
8+
- npm run lint
9+
- npm run dtslint
10+
- npm run cover
11+
- npm run build
12+
- npm run benchmark
1213
after_script:
13-
- npm run coveralls
14+
- npm run coveralls
1415
cache:
1516
directories:
16-
- node_modules
17+
- node_modules
1718
notifications:
1819
email: false

0 commit comments

Comments
 (0)