Skip to content

Commit 86a56a5

Browse files
imlucasaherlihy
authored andcommitted
Backport: COMPASS-3118: Fix orphaned windows (#1550)
* COMPASS-3118: Fix orphaned windows * ⚡ Make travis use latest npm * Try rebuilding entire package-lock for travis * COMPASS-3118: Can no longer repro exception * Shouldn't need to flush npm cache anymore * COMPASS-3118: Handle potential race of COMPASS-3101 * debugging travis * COMPASS-3113: Use xvfb-maybe instead of travis before_script * Make travis use `npm ci` which is faster than `npm install` for actual CI - Now that we're on `npm@6`, we can take advantage of https://docs.npmjs.com/cli/ci - Remove `ci` run script as it conflicts with this new feature (I was ahead of my time...) - Remove `mongodb-js-fmt` as everyone now uses prettier in their editor's * debugging travis * ⚡ Cache npm build cache * Revert "COMPASS-3113: Use xvfb-maybe instead of travis before_script" This reverts commit d39c6cb. * Fix databases test * Debugging test failures * Fix Windows on Evergreen to use npm@6
1 parent e6806f9 commit 86a56a5

File tree

8 files changed

+5865
-4812
lines changed

8 files changed

+5865
-4812
lines changed

.evergreen.yml

Lines changed: 433 additions & 433 deletions
Large diffs are not rendered by default.

.travis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,16 @@ addons:
1818
- libstdc++6
1919
before_install:
2020
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> .npmrc
21-
- npm i -g npm@5.7.1
22-
- npm cache --f clean
23-
- npm --version
21+
- npm i -g npm
22+
install:
23+
- npm ci
2424
before_script:
2525
- export DISPLAY=:99.0
2626
- sh -e /etc/init.d/xvfb start
27+
- sleep 3 # give xvfb some time to start
28+
script:
2729
- npm run check
28-
script: npm run test
30+
- npm test
31+
cache:
32+
directories:
33+
- '$HOME/.npm'

0 commit comments

Comments
 (0)