Commit Graph

220 Commits

Author SHA1 Message Date
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
Simon Brandhof
bac57da65f Temporarily disable coverage per test during PR analysis 2015-11-30 09:22:38 +01:00
Simon Brandhof
7c10d53bf9 Analyze PR only on master merge 2015-11-30 09:22:05 +01:00
Simon Brandhof
4f07f62c70 Analyze naming convention to travis.sh env variable GITHUB_TOKEN 2015-11-30 09:21:35 +01:00
Simon Brandhof
b2d0c9a15e Fix logs of Travis CI 2015-11-24 19:48:55 +01:00
Simon Brandhof
76b953f992 Improve travis.sh
- Upgrade to travis-utils v21
- Merge PR analysis with CI
- rename variables
- execute IT category "plugins" if PR from same repo
- fail if unknown $TARGET
2015-11-24 17:42:44 +01:00
Simon Brandhof
a5b8494eca Fix analysis mode of pull request analysis on Travis 2015-11-05 14:26:11 +01:00
Simon Brandhof
d4a1f0b461 Fix env variables of pull request analysis on Travis 2015-11-05 10:49:48 +01:00
Simon Brandhof
37dacbc893 Add comments to Travis PR analysis 2015-11-05 10:14:31 +01:00
Stas Vilchik
e1c46456c6 Revert "send coverage report to coveralls" 2015-11-02 19:07:16 +01:00
Stas Vilchik
1922918416 Merge pull request #609 from SonarSource/feature/coveralls
send coverage report to coveralls
2015-11-02 16:50:56 +01:00
Simon Brandhof
bef388708a Remove build of orchestrator 2015-10-27 21:40:25 +01:00
Julien Lancelot
ffaaad24e6 SONAR-6942 Reorganize ITs 2015-10-27 21:19:57 +01:00
Thomas Vérin
999f3c158b Switch to jdk8 in pranalysis 2015-10-21 10:56:28 +02:00
tomverin
ef84d35ad8 Update pull request analysis start 2015-10-21 08:56:19 +02:00
Simon Brandhof
e2517f4266 Replace groupIds org.codehaus by org.sonarsource 2015-10-09 16:41:29 +02:00
Stas Vilchik
7385970516 send coverage report to coveralls 2015-09-30 21:03:33 +02:00
Stas Vilchik
a9a4c04df4 use nvm to install node.js 4, add mocha tests 2015-09-30 10:18:55 +02:00
Simon Brandhof
634c7df11f Fix Disabling of IT category "plugins" on pull requests 2015-09-29 11:46:24 +02:00
David Gageot
9d28924a70 Use a single thread because NetworkUtils.freePort()
is not thread safe
2015-09-11 10:01:22 +02:00
David Gageot
b4c6aa4cbf Use latest travis-utils 2015-09-11 08:47:24 +02:00
David Gageot
d7fbf7680b Cleanup travis script 2015-09-10 10:37:33 +02:00
David Gageot
d8efb97a94 Group its 2015-09-02 14:25:02 +02:00
David Gageot
21470451d7 Ignore IT plugins for all PRs 2015-08-27 09:59:23 +02:00
Simon Brandhof
2aa70d1ad9 Upgrade to travis-utils v16 2015-07-31 11:43:12 +02:00
Simon Brandhof
7d7986f361 Simplify Travis env for integration tests 2015-07-27 11:42:09 +02:00
David Gageot
191a847984 Update travis-utils to v15 2015-07-24 16:35:08 +02:00
Julien Lancelot
a78844b0b8 Add measure and ui IT configuration in travis 2015-07-24 12:32:22 +02:00
David Gageot
78222b3162 Update to orchestrator 3.3 2015-07-24 09:13:48 +02:00
Simon Brandhof
346073fd91 Revert "Do not redirect surefire logs to file"
Too many logs are generated for travis, which accepts max 4Mb

This reverts commit e9782fdb64.
2015-07-23 20:05:31 +02:00
Simon Brandhof
e9782fdb64 Do not redirect surefire logs to file 2015-07-23 19:56:26 +02:00
David Gageot
0dcc15fc44 Use latest version of travis-utils 2015-07-22 16:53:51 +02:00
David Gageot
4b23bd740d Configure plugin ITs (aka it-platform) 2015-07-22 13:55:37 +02:00
Simon Brandhof
4027764b3d Add integration tests for manual and common rules 2015-07-21 17:14:59 +02:00
David Gageot
c4b2247fa4 Show the maven command being used 2015-07-13 14:43:37 +02:00
David Gageot
c2d281a185 Use latest version of travis-utils 2015-07-13 10:06:30 +02:00
David Gageot
799f23c1c1 Revert "Use latest travis-utils"
This reverts commit 0533907055.
2015-07-13 10:02:37 +02:00
David Gageot
0533907055 Use latest travis-utils 2015-07-13 09:56:29 +02:00
David Gageot
ba93d6aaf2 Fix travis.sh script
Don't use travis-utils to start xvfb
2015-07-09 11:09:05 +02:00
David Gageot
b092a65b85 Fix travis.sh script 2015-07-09 11:03:25 +02:00
David Gageot
3384d2f856 Use latest travis-utils 2015-07-09 11:00:51 +02:00
Simon Brandhof
98d7550f62 Fix travis.sh to execute db tests on mysql and postgres 2015-07-08 23:51:14 +02:00
Stas Vilchik
cc9e9f5e58 transition coding rules web tests 2015-07-07 18:07:24 +02:00
David Gageot
e56cdd214b It's not faster and might cause flakiness 2015-07-07 15:21:21 +02:00
Stas Vilchik
ab582432b3 shut up selenium 2015-07-02 17:58:19 +02:00
David Gageot
2baae4090d Use latest TravisCI tools 2015-07-02 16:42:05 +02:00
David Gageot
5119bd77ae Temporary fix for ITs 2015-07-02 16:25:46 +02:00
David Gageot
7098d31e22 Merge branch 'feature/it'
Conflicts:
	.travis.yml
	travis.sh
2015-07-02 10:51:50 +02:00
David Gageot
516db42684 Update Travis Tools 2015-07-02 10:47:24 +02:00
David Gageot
68bdee9a6e Fix script name 2015-06-30 16:41:28 +02:00
Stas Vilchik
3860f8a337 add intern test framework, setup initial unit and medium tests 2015-06-30 09:09:54 +02:00
David Gageot
e83e156523 Use latest version of TravisUtils 2015-06-29 19:31:25 +02:00
David Gageot
e65cd444d5 Use TravisUtils 2015-06-29 18:30:32 +02:00
David Gageot
6ce3bfc766 More test categories 2015-06-29 18:24:02 +02:00
David Gageot
3b357add6f xvfb 2015-06-29 17:22:47 +02:00
David Gageot
8ee636d2d5 Get rid of Ruby default configuration 2015-06-29 16:13:47 +02:00
David Gageot
b76fc770d3 Logs 2015-06-29 15:25:09 +02:00
David Gageot
827c1b7615 Fix build script 2015-06-29 14:03:46 +02:00
David Gageot
1804d6bfd9 Build first 2015-06-29 13:05:13 +02:00
David Gageot
c4f92d8000 Add ITs 2015-06-29 12:56:01 +02:00
Julien HENRY
9849b523a2 Use incremental mode to do pull request analysis 2015-06-29 11:24:01 +02:00
David Gageot
1385dd342d Use two threads on TravisCI 2015-06-24 15:23:42 +02:00
tomverin
79941ea90f reorder mvn command for travis PR analysis 2015-06-23 11:00:55 +02:00
tomverin
551a31eeb0 Travis PR analysis was lacking the build 2015-06-23 10:59:22 +02:00
tomverin
e5922d5d1e Update sonar credentials for PR analysis 2015-06-22 14:00:52 +02:00
Thomas Vérin
17e8f5e122 Add PR analysis to travis-ci 2015-06-19 16:43:38 +02:00
Sébastien Lesaint
88a25ade9d use Sonarsource's repo travis-utils and use v2.1
fixes undefined variable $4 error
2015-06-17 10:53:25 +02:00
Sébastien Lesaint
4aeeb28060 attempt to fix travis script missing $4 variable 2015-06-17 09:20:01 +02:00
David Gageot
0bff456213 Use Version 2 of TravisCI toolbelt 2015-06-16 14:15:05 +02:00
David Gageot
9883b21b72 Use version 1 of TravisCI toolbelt 2015-06-16 14:12:02 +02:00
David Gageot
8f9e5e843e Run CI on h2/mysql/postgres 2015-06-03 18:02:47 +02:00