Skip to content

Commit a9d3d19

Browse files
Fixed travis testing
1 parent d8cf95e commit a9d3d19

File tree

3 files changed

+10
-15
lines changed

3 files changed

+10
-15
lines changed

Diff for: .travis.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
language: node_js
22
node_js:
3-
- "7"
3+
- "8"
44
install:
5-
- npm install -g lerna
6-
- npm install -g eslint
7-
- npm install -g eslint-plugin-promise
8-
- npm install -g typescript
9-
- npm install -g tslint
5+
- npm install
106
script:
11-
- ./scripts/test.sh
7+
- npm run test

Diff for: package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@
44
"description": "Samples for Cloud Functions for Firebase",
55
"author": "Firebase (https://firebase.google.com/)",
66
"license": "Apache-2.0",
7+
"scripts": {
8+
"test": "echo 'Linting...' && lerna run lint && echo 'Testing...' && lerna run ci-test"
9+
},
710
"devDependencies": {
811
"eslint": "^4.17.0",
9-
"lerna": "^2.8.0"
12+
"eslint-plugin-promise": "^3.8.0",
13+
"lerna": "^2.8.0",
14+
"tslint": "^5.11.0",
15+
"typescript": "^3.0.1"
1016
}
1117
}

Diff for: scripts/test.sh

-7
This file was deleted.

0 commit comments

Comments
 (0)