diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-12-12 17:40:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-12 17:40:57 +0100 |
commit | 3711b73ae884d925a1d4106ec4d212b12cd19287 (patch) | |
tree | 7600c783120ccef25d618702b14ff822a3b78630 /travis.sh | |
parent | 3077ae7e1bdbc02a088fbc6593fb7c6c96065bd4 (diff) | |
download | sonarqube-3711b73ae884d925a1d4106ec4d212b12cd19287.tar.gz sonarqube-3711b73ae884d925a1d4106ec4d212b12cd19287.zip |
use yarn (#1453)
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 5 |
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 ;; *) |