Skip to content

Commit bb73993

Browse files
committed
chore(dev) ~ caching on build, e2e on best result
1 parent 1fc1b68 commit bb73993

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ node_js:
1212
- "5"
1313
- "6"
1414
- "node"
15-
# Matrix failure enabled for https://github.com/TheLarkInn/LazyParseWebpackPlugin/issues/6
1615
matrix:
1716
fast_finish: true
1817
allow_failures:
1918
- node_js: "4"
19+
before_install:
20+
- npm i npm@^4 -g
2021
install:
2122
- npm install
2223
before_script:
@@ -25,3 +26,6 @@ before_script:
2526
- sleep 3
2627
script:
2728
- npm run ci:travis
29+
cache:
30+
directories:
31+
- node_modules

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"ci:jit": "npm run lint && npm run test && npm run build:prod && npm run e2e",
2222
"ci:nobuild": "npm run lint && npm test && npm run e2e",
2323
"ci:testall": "npm run lint && npm run test && npm run build:prod && npm run e2e && npm run build:aot && npm run e2e",
24-
"ci:travis": "npm run lint && npm run test && npm run build:dev && npm run e2e:travis && npm run build:prod && npm run e2e:travis && npm run build:aot && npm run e2e:travis",
24+
"ci:travis": "npm run lint && npm run test && npm run build:aot && npm run e2e:travis",
2525
"ci": "npm run ci:testall",
2626
"clean:dll": "npm run rimraf -- dll",
2727
"clean:aot": "npm run rimraf -- compiled",

0 commit comments

Comments
 (0)