mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-31 20:41:05 +08:00
Fix Travis build, do not try to use our local copy of npm to install itself
This commit is contained in:
parent
a516c472f2
commit
7e3448ad5b
1 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,10 @@ before_install:
|
|||
DISPLAY=nothing:0
|
||||
git submodule update --init mailsync
|
||||
|
||||
# Resolves https://travis-ci.community/t/npm-ci-will-fail-if-cached-dependency-includes-npm/4203/6
|
||||
# Don't run the copy of npm inside node_modules when erasing + building the node_modules...
|
||||
install: PATH=$(echo "$PATH" | sed 's/.\/node_modules\/.bin://') npm ci
|
||||
|
||||
before_script:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue