diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-12-14 15:11:28 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-12-14 15:22:56 +0100 |
commit | c837c831d5f4665103b295856b14ead7015a79b2 (patch) | |
tree | c8803fd57c5233991df0bd7f3baef5feef8fa99a /travis.sh | |
parent | 0f6beee827a54bb53f9a2f4c5f56fa0006cacf34 (diff) | |
download | sonarqube-c837c831d5f4665103b295856b14ead7015a79b2.tar.gz sonarqube-c837c831d5f4665103b295856b14ead7015a79b2.zip |
run jest tests sequentially
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/travis.sh b/travis.sh index adeaf7b9467..8ce6a7a0d5d 100755 --- a/travis.sh +++ b/travis.sh @@ -44,11 +44,11 @@ CI) # Fetch all commit history so that SonarQube has exact blame information # for issue auto-assignment - # This command can fail with "fatal: --unshallow on a complete repository does not make sense" + # This command can fail with "fatal: --unshallow on a complete repository does not make sense" # if there are not enough commits in the Git repository (even if Travis executed git clone --depth 50). # For this reason errors are ignored with "|| true" git fetch --unshallow || true - + mvn org.jacoco:jacoco-maven-plugin:prepare-agent deploy sonar:sonar \ $MAVEN_OPTIONS \ -Pdeploy-sonarsource \ @@ -97,7 +97,7 @@ WEB) source ~/.nvm/nvm.sh && nvm install 6 curl -o- -L https://yarnpkg.com/install.sh | bash export PATH=$HOME/.yarn/bin:$PATH - cd server/sonar-web && yarn && yarn test + cd server/sonar-web && yarn && yarn test -- --runInBand ;; *) |