aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/travis.sh b/travis.sh
index 4f39ec7ef7d..adeaf7b9467 100755
--- a/travis.sh
+++ b/travis.sh
@@ -95,8 +95,9 @@ CI)
WEB)
set +eu
source ~/.nvm/nvm.sh && nvm install 6
- npm install -g npm@3.5.2
- cd server/sonar-web && npm install && npm test
+ curl -o- -L https://yarnpkg.com/install.sh | bash
+ export PATH=$HOME/.yarn/bin:$PATH
+ cd server/sonar-web && yarn && yarn test
;;
*)