Skip to content

Commit 8e420d8

Browse files
committed
chore(build): add before scripts
1 parent 3cfdf4f commit 8e420d8

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ sudo: required
77

88
addons:
99
chrome: stable
10-
cache:
11-
npm: true
12-
directories:
13-
- node_modules
10+
11+
before_script:
12+
- "sudo chown root /opt/google/chrome/chrome-sandbox"
13+
- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
14+
1415
jobs:
1516
include:
1617
- stage: lint

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"format:write": "prettier --write 'projects/**/*.ts'",
1010
"test": "ng test",
1111
"test:coverage": "ng test --code-coverage --watch=false",
12-
"test:lib": "",
12+
"test:lib": "ng test --project ng-sortgrid",
1313
"test:lib:coverage": "ng test ng-sortgrid --code-coverage --watch=false",
1414
"report-coverage:lib": "cat ./coverage/ng-sortgrid/lcov.info | codecov",
1515
"build": "npm run build:lib && npm run build:demo",

0 commit comments

Comments
 (0)