Commit 83e73400cbb666a977e7f21d8c6d64570fc569b1
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.Daan Wynen committed on 4/24/2020, 11:15:59 PM
Parent: f7020b04f29e406f5aa9fd27ba66ef6c19341a80
Files changed
.travis.yml | changed |
.travis.yml | ||
---|---|---|
@@ -18,9 +18,8 @@ | ||
18 | 18 … | filter_secrets: false |
19 | 19 … | |
20 | 20 … | cache: |
21 | 21 … | directories: |
22 | - - $HOME/.npm | |
23 | 22 … | - $HOME/.cache/electron |
24 | 23 … | - $HOME/.cache/electron-builder |
25 | 24 … | |
26 | 25 … | before_install: |
@@ -33,8 +32,9 @@ | ||
33 | 32 … | libxext-dev \ |
34 | 33 … | libxkbfile-dev \ |
35 | 34 … | libxtst-dev |
36 | 35 … | fi |
36 … | + - npm cache verify | |
37 | 37 … | |
38 | 38 … | script: npm test && npm run dist |
39 | 39 … | |
40 | 40 … | branches: |
Built with git-ssb-web