Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit 83e7340

Browse files
Handle travis cache more delicately.
After debugging in #1277, it seems that our travis cache got corrupted. This simply puts a cache verification step in front of the build process. If the caching becomes a problem now, we shoul at least get some clear info on what's happening. Also, this disables explicit caching of ~/.npm, because that is handled implicitly by travis these days.
1 parent f7020b0 commit 83e7340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ matrix:
1919

2020
cache:
2121
directories:
22-
- $HOME/.npm
2322
- $HOME/.cache/electron
2423
- $HOME/.cache/electron-builder
2524

@@ -34,6 +33,7 @@ before_install:
3433
libxkbfile-dev \
3534
libxtst-dev
3635
fi
36+
- npm cache verify
3737

3838
script: npm test && npm run dist
3939

0 commit comments

Comments
 (0)