Commit Graph

220 Commits

Author SHA1 Message Date
Stas Vilchik
972720602e fix jdk installation on travis 2018-01-22 13:13:01 +01:00
Julien Lancelot
76b96eac5d Upgrade JDK to 1.8u161 in travis.sh 2018-01-17 10:51:02 +01:00
Sébastien Lesaint
96b3e969ec remove use of old Github plugin 2017-12-26 09:18:35 +01:00
Stas Vilchik
8fcb4a1344 Silent cancellation of branch build on Travis if a PR is open 2017-11-24 16:28:11 +01:00
Janos Gyerik
368472609e Add sonar.pullrequest.* properties to travis.sh 2017-11-16 18:05:45 +01:00
Julien Lancelot
6c36e00db6 Fix url to download maven in travis.sh 2017-10-30 09:30:53 +01:00
Tom
27339c9f92 update jdk to 1.8u151 2017-10-23 10:41:54 +02:00
Simon Brandhof
35f7078a42 Fix analysis of pull requests on Travis 2017-10-20 09:44:07 +02:00
Simon Brandhof
908547bead Travis - support analysis of PR based on PR 2017-10-16 21:19:43 +02:00
ssjenka
ba47e7fd39 Automatic merge from branch-6.6
* origin/branch-6.6:
  Prepare for next development iteration
  SONAR-9721 Fix potential OkHttpClient connection leak
  Publish 6.6 Release Candidate 1
  fix quality flaws
  Propagate parameters of SQ analysis required by burgr
  fix unwanted text wrapping in the header in ie11
  SONAR-9908 on Windows, launch Elasticsearch directly, without batch files (#2642)
  SONAR-9694 Ignore when secondary locations are out of current file for backdating
  Fix sidebar position helper in IE
2017-10-11 08:02:23 +02:00
Simon Brandhof
b666e86060 Fix typo in travis.sh 2017-10-10 21:45:59 +02:00
Simon Brandhof
1af027a26a Propagate parameters of SQ analysis required by burgr 2017-10-10 17:43:16 +02:00
Teryk Bellahsene
9fb89dcf00 Fix travis.sh with whitespaces in mvn command 2017-10-10 11:08:28 +02:00
Teryk Bellahsene
86f02ee075 Update to travis-utils 38 2017-10-10 10:38:54 +02:00
Simon Brandhof
fc6a07f955 Use JDK 1.8.0_144 and Maven 3.5 on Travis 2017-10-08 18:20:32 +02:00
Duarte Meneses
8427a23c60 Always 'fetch --unshallow' in Travis builds 2017-10-04 17:37:13 +02:00
Daniel Schwarz
7634638e4c reduce maven artefact download logging on travis 2017-09-29 15:35:13 +02:00
Daniel Schwarz
afcfec784c reduce java download logging on travis 2017-09-29 15:35:13 +02:00
Simon Brandhof
23671f07e6 Fix version of analysis in long-lived branches 2017-09-28 14:15:44 +02:00
Simon Brandhof
f8d11ce6de Analyze maintenance branches on next.sonarqube.com 2017-09-14 18:13:34 +02:00
Simon Brandhof
4c8bee5c2a Disable analysis of PR based on another PR
This is currently not supported by the branch plugin.
2017-09-13 14:38:11 +02:00
Simon Brandhof
736e89cc16 Analyze pull requests as short-living branches on next.sonarqube.com 2017-09-13 13:45:35 +02:00
Simon Brandhof
b11a6e05bf Disable incremental analysis from Travis
We have to find a better and deterministic way to enable the
incremental mode. Relying on last character of git sha does not
allow to make Quality Gate quickly back to green (because of
lack of coverage computation)
2017-09-12 10:03:55 +02:00
Teryk Bellahsene
df66d43ed0 Trigger a full analysis for every build number ending with 0, 1 or 2 2017-09-11 15:16:52 +02:00
Duarte Meneses
1f30a68520 Enable incremental mode 2017-08-29 15:49:35 +02:00
Tom
008f13434b Disabling temporarly incremental analysis 2017-08-22 17:27:02 +02:00
Tom
3d352a5b92 BUILD-495 remove code duplication in build script 2017-08-21 14:02:01 +02:00
Simon Brandhof
51a85838f2 Revert "DO NOT MERGE"
This reverts commit fae038c5e6.
... because return from holidays is hard
2017-08-17 14:31:13 +02:00
Simon Brandhof
fae038c5e6 DO NOT MERGE 2017-08-17 14:24:07 +02:00
Stas Vilchik
83c40b005c install nodejs 8 on travis 2017-08-16 09:13:02 +02:00
Tom
5b11c08338 BUILD-495 add incremental analysis and full analysis every 0 ending build 2017-08-11 15:55:50 +02:00
Daniel Schwarz
4a0af974b7 SONAR-8798 reduce Elasticsearch log level to "WARN" for unit tests 2017-08-09 15:09:54 +02:00
David Rautureau
5360b7de7e BUILD-478 Set TRAVIS_BUILD_DIR in ramdisk 2017-08-01 13:51:37 +02:00
Julien Lancelot
ba96a0fbd5 Remove usage of ramdisk in travis 2017-07-13 11:27:03 +02:00
Simon Brandhof
cab4f87c88 Drop support of PhantomJS in integration tests 2017-06-17 17:28:21 +02:00
Tom
430a6a2a30 Use Trusty image on TravisCI
- environment is more stable through time (no variations of build
  durations)

- benefit from 8Gb ramdisk

- enable parallel Maven build thanks to new CPUs
2017-05-26 11:56:39 +02:00
Julien Lancelot
f8c603b07c Fix JDK link download in travis build 2017-05-23 13:30:14 +02:00
Tom
02cc6c36d4 Cancel the Travis build of a branch when a pull request exists
It allows to not use slaves for nothing by executing twice
(more or less) the same job. Building the pull request
is enough in most cases.
2017-05-04 13:49:28 +02:00
Stas Vilchik
fbff4f5366 run eslint, flow and jest tests on travis (#1779) 2017-03-13 15:55:46 +01:00
ssjenka
acaa082a92 Automatic merge from branch-6.3
* origin/branch-6.3:
  Fix PROJECT_VERSION on Travis for SNAPSHOT versions
2017-03-06 13:43:40 +01:00
Simon Brandhof
305edb8630 Fix PROJECT_VERSION on Travis for SNAPSHOT versions 2017-03-06 13:38:14 +01:00
Simon Brandhof
54710d55c2 Merge remote-tracking branch 'origin/branch-6.3' 2017-03-06 12:39:10 +01:00
Simon Brandhof
73bd4a9552 Fix build version of RC to not have "x.y-RCz.0.<build>"
The correct format is "x.y.0.<build>"
2017-03-03 17:35:34 +01:00
Simon Brandhof
62e913b8c3 No need to change project version on Travis when not SNAPSHOT 2017-03-03 16:43:43 +01:00
Simon Brandhof
1d7b875700 Support release versions on 2 or 3 fields 2017-03-03 15:56:40 +01:00
Simon Brandhof
dc75a91dcf Merge remote-tracking branch 'origin/branch-6.3' 2017-02-23 09:24:57 +01:00
Simon Brandhof
7a8f38e05f Always public artifacts with full build version 2017-02-22 16:04:12 +01:00
Simon Brandhof
fab015b50e Fix deployment of RCs
Technical version of RC must not be replaced by the
build version on 4 fields.
2017-02-22 13:19:50 +01:00
Simon Brandhof
512b86a998 Fix install of maven 3.3.9 on Travis 2017-02-21 12:15:55 +01:00
Simon Brandhof
474ace228f Upgrade JDK and Maven on Travis
* JDK 1.8.0_121
 * Maven 3.3.9
2017-02-21 11:45:50 +01:00
Simon Brandhof
3fce43c5b8 Add logs when Travis downloads phantomjs and JDK8 2017-02-21 10:05:08 +01:00
Simon Brandhof
7def7f15c9 Ability to release versions without build number in artifact filenames 2017-02-21 10:05:08 +01:00
Simon Brandhof
534fc279a6 Enable Maven profile "release" on master 2017-02-14 12:06:25 +01:00
Stas Vilchik
203fc0ff86 make travis build fail when web job fails 2017-01-16 15:36:39 +01:00
Tom
2ea17a6389 BUILD: display the date every minute in travis builds 2017-01-12 16:20:38 +01:00
David Rautureau
3eda196582 SONAR-8458 add build number when building on Travis 2017-01-11 11:20:36 +01:00
Stas Vilchik
c837c831d5 run jest tests sequentially 2016-12-14 15:22:56 +01:00
Stas Vilchik
3711b73ae8 use yarn (#1453) 2016-12-12 17:40:57 +01:00
Stas Vilchik
94e185cd0e use nodejs 6.x (#1451) 2016-12-12 14:47:41 +01:00
David Rautureau
6e0ca554a1 SONAR-8420 Automated release
* add artifactsToPublish to bintray

* export PROJECT_VERSION in env to be recorded in buildinfo

* Remove distributionManagement (deploy is done by the artifactory-maven-plugin)

* Enable release profile on Travis for maintenance branches

* Remove checksums calculation of the distribution (done by the release process)

* Remove javadoc profile (we only publish the javadoc of the plugin API)
2016-11-28 12:09:14 +01:00
Simon Brandhof
8e1c75cc7b Revert "Build with 2 threads on Travis"
This reverts commit 5a5487873c.
Artifactory plugin does not support concurrent build
of modules.
2016-09-04 21:49:14 +02:00
Simon Brandhof
5a5487873c Build with 2 threads on Travis 2016-09-03 14:26:16 +02:00
G. Ann Campbell
117168aac4 update PR analysis mode
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/sonarqube/zLhxT7PygVI/eq2G9U0KAgAJ
2016-08-30 12:44:20 +02:00
David Rautureau
347d5f4065 BUILD-155 Download PhantomJS from Repox (#1155) 2016-08-22 09:02:28 +02:00
Sébastien Lesaint
c776aac08b [script] fix duplicate set_maven_build_version 2016-08-19 15:19:33 +02:00
Duarte Meneses
946fcc33f4 Enable Surefire XML reports for Surefire sensor 2016-08-17 17:39:54 +02:00
Simon Brandhof
7543c6b2d9 Re-enable analysis on Travis
JS plugin has been fixed
2016-07-25 13:27:59 +02:00
Simon Brandhof
ea220db926 Ability to use selenide and phantomjs in ITs
* selenide should replace Selenese HTML tests
* phantomjs should replace Firefox in environments
that require XVFB
2016-07-24 20:39:36 +02:00
Simon Brandhof
784b8e543c Temporarily disable analysis as JS analyser fails 2016-07-24 18:55:53 +02:00
Simon Brandhof
bb7e02cf8a Improve surefire configuration for Travis
by disabling writing of reports on disk
2016-07-24 18:36:08 +02:00
Simon Brandhof
7528aefbb6 Do not deploy sources on feature branches 2016-07-24 18:35:26 +02:00
Simon Brandhof
57069a6f42 Fix build of feature branches on Travis 2016-07-21 09:37:15 +02:00
Simon Brandhof
ca4b66297f Fix blame info when analysing SonarQube 2016-07-20 17:00:13 +02:00
Simon Brandhof
92ab1dc3ea Execute only Lite ITs on Travis 2016-07-20 15:34:01 +02:00
Stas Vilchik
169b22e13d upgrade travis-utils to v31 (#1088) 2016-07-08 09:31:43 +02:00
Simon Brandhof
873926459d Cache JDK8 installer on Travis 2016-06-21 14:55:47 +02:00
Simon Brandhof
d30b7dc59a Disable Clirr check
As it's incompatible with Java 8
2016-06-16 09:23:27 +02:00
Stas Vilchik
5b82ca5d5a use repox as npm registry on travis 2016-06-09 09:34:39 +02:00
Tom
ad239bd651 reverse deploy exclusion cause they fails QA 2016-05-27 17:14:46 +02:00
Tom
5b89819c67 re-enable tests on release 2016-05-27 17:00:33 +02:00
Tom
b77f2409e4 handle release distribution from travis 2016-05-27 16:56:33 +02:00
Tom
e78e24086e handle release version in travis.sh 2016-05-20 10:05:05 +02:00
Tom
b7674a13c8 QA: enable deploy on branch-* 2016-04-12 08:08:35 +02:00
Simon Brandhof
8012cb4145 Exclude some QA tests from build environment 2016-02-18 12:33:53 +01:00
Simon Brandhof
c885d23b86 Fix quick-build.sh 2016-02-11 17:05:25 +01:00
Simon Brandhof
393a139c49 Fix log output on Travis 2016-02-11 11:22:45 +01:00
Simon Brandhof
46b5b59eae Fix IT scripts 2016-02-11 10:51:58 +01:00
Simon Brandhof
5f7f72ce0f Move plugins ITs to QA and enable perf tests 2016-02-10 18:19:40 +01:00
Simon Brandhof
e851411f7f Enable QA pipeline at SonarSource 2016-02-10 17:13:16 +01:00
Simon Brandhof
58709fb239 Fix JaCoCo config for analysis of PR on Travis 2016-02-05 11:40:57 +01:00
Simon Brandhof
c86c93bd38 Use release v24 of travis-utils 2016-02-03 09:29:44 +01:00
Simon Brandhof
0744b45cea Decrease amount of maven debug logs on Travis 2016-01-31 10:21:36 +01:00
Simon Brandhof
ce76c679ec Fix deployment to Artifactory by upgrading to parent 28 2016-01-30 19:16:52 +01:00
Simon Brandhof
973e2b6a75 Reduce volume of logs on Travis 2016-01-29 21:55:14 +01:00
Simon Brandhof
8df87254a7 Enable deploy to SonarSource maven repository 2016-01-29 21:39:18 +01:00
Simon Brandhof
626f44e72a Disable analysis of external PRs 2016-01-20 14:40:00 +01:00
Simon Brandhof
b27328c9b3 Analyze pull requests with Java 7 2016-01-14 17:57:50 +01:00
Stas Vilchik
9b786aa3fd upgrade to node.js 4 and npm 3, fix deps versions, migrate to gulp-cssnano 2015-12-28 10:27:18 +01:00
Simon Brandhof
99751f5084 Fix execution of it-plugins on travis 2015-12-02 18:12:49 +01:00
Simon Brandhof
ef5bb874bd Use token for SonarQube analysis 2015-12-02 16:42:26 +01:00