Skip to content

Commit 78a4118

Browse files
authored
Merge pull request #1 from hkdobrev/travisci
Install Travis CI
2 parents a638353 + 9f73a00 commit 78a4118

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: node_js
2+
node_js: stable
3+
4+
branches:
5+
only:
6+
- master
7+
8+
cache:
9+
yarn: true
10+
directories:
11+
- node_modules
12+
13+
install:
14+
- travis_retry yarn install --force
15+
16+
script:
17+
- yarn test-ci

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"husky": "^1.3.1",
1919
"lint-staged": "^8.1.0"
2020
},
21+
"scripts": {
22+
"test-ci": "eslint ."
23+
},
2124
"husky": {
2225
"hooks": {
2326
"pre-commit": "lint-staged",

0 commit comments

Comments
 (0)