72 Commits

Author SHA1 Message Date
Andreas Dangel
c9ec3ae63c Use openjdk 11.0.3 2019-04-27 16:22:21 +02:00
Andreas Dangel
c4fafeeb62 [ci] Use jdk12 for building 2019-04-18 20:13:40 +02:00
Andreas Dangel
e3ef72cc06 [ci] Do not use "sudo=false" for travis anymore
See the following blog posts
* https://blog.travis-ci.com/2018-10-04-combining-linux-infrastructures
* https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
* https://changelog.travis-ci.com/linux-builds-run-on-vms-by-default-77106
2018-11-25 15:09:15 +01:00
Andreas Dangel
e58ad9ef84 [ci] Install bundles into vendor/bundle, fix bundle config when calling pmdtester 2018-10-07 10:57:39 +02:00
Andreas Dangel
848a0761fe Fix release scripts
* fix language var LANG
* fix bundle install command
* automate creation of release notes post in pmd.github.io
* add var "is_release_notes_processor"
* Always install the gems for rendering release notes
2018-09-02 15:31:01 +02:00
Andreas Dangel
7a8847bacb [ci] Fix sonar configuration
For now, we need to use java10 with sonar, until sonarjava 5.8.0
is released, which adds support for java11.
Apparantly sonar also loads the classfiles and can't yet load
java11 classes, leading to many errors
"Unsupported class file major version 55" while analyzing
the project.

Also update SONAR_TOKEN

See https://jira.sonarsource.com/browse/SONARJAVA-2877
2018-09-02 12:15:45 +02:00
Juan Martín Sotuyo Dodero
bec314ef27 Merge branch 'pr-1266' 2018-09-01 16:13:02 -03:00
Andreas Dangel
c6b529dde8 [ci] update github oauth token 2018-08-30 10:50:22 +02:00
Andreas Dangel
eb03003f66 Cache bundles on travis, use bundle exec 2018-08-17 10:43:12 +02:00
Andreas Dangel
c4857aaa20 [ci] Use openjdk11 for building, add osx into the build matrix
* Allow travis to cache jdk
* cache $HOME/.rvm, install bundler with current rvm ruby (needed for osx)
2018-08-15 23:24:41 +02:00
BBG
2b0e9e0ccf danger integration 2018-07-30 00:11:02 +08:00
Andreas Dangel
fa3a985522 Use ruby 2.4.1 2018-07-23 20:14:59 +02:00
BBG
3f030a2784 upload baseline of pmdtester automatically 2018-07-21 00:53:39 +08:00
Andreas Dangel
6996b8e51d [ci] Add more logging to build/deploy/release scripts 2018-06-30 16:05:55 +02:00
Andreas Dangel
fef93eec64 [ci] Add webhooks build notification for gitter 2018-05-22 20:40:37 +02:00
Andreas Dangel
22a50a14cf [ci] switch to Oracle jdk10 to support javafx 2018-04-18 10:05:53 +02:00
Andreas Dangel
6c6f644675 [ci] Switch to OpenJDK 10
See https://sormuras.github.io/blog/2018-03-20-jdk-matrix.html
2018-04-18 09:48:46 +02:00
Andreas Dangel
73de6eb1f0 [ci] Use Java9 for building PMD
Fixes #854
2018-02-18 21:49:25 +01:00
Andreas Dangel
7938dcd8c4 [ci] Add pmd-commits@lists.sourceforge.net for build notifications 2018-02-01 19:25:46 +01:00
Andreas Dangel
342b5c3c1d [ci] fix uploading doc to pmd.github.io during release 2017-12-15 16:46:34 +01:00
Andreas Dangel
bd77ba6a0f [ci] Go back to java8 in order to include scala in the release 2017-12-15 11:05:36 +01:00
Andreas Dangel
2f67eaf7e6 [ci] Update travis scripts to use java 9 2017-09-24 10:39:54 +02:00
Andreas Dangel
c48e2dad01 [ci] update email notification 2017-08-15 20:39:34 +02:00
Andreas Dangel
1211a6f93a [ci] use a container-based build environment again
Since we don't use docker anymore, let's try to use a container-based
build environment again
2017-07-25 21:33:48 +02:00
Andreas Dangel
5727dabd38 [doc] Add build script for PMD documentation, disable old site build 2017-07-23 11:00:52 +02:00
Andreas Dangel
e8dcbda839 [ci] Add coveralls.io
Updated jacoco, add maven profile "coveralls"
2017-07-08 20:30:25 +02:00
Juan Martín Sotuyo Dodero
c9990a53cb Adopt feedback 2017-06-24 17:28:40 -03:00
Juan Martín Sotuyo Dodero
66bed6779c [ci] Improve Travis builds
- use travis_wait for long running tasks with no output
 - enable fast-finish to abort all builds if one fails
2017-06-21 21:25:38 -03:00
Andreas Dangel
a3004395ab Revert "travis: let bash read its .bashrc file"
This reverts commit 929afd8318314a53b561dfc4f7ea5ef4769026ed.
2017-06-11 10:50:39 +02:00
Andreas Dangel
929afd8318 travis: let bash read its .bashrc file 2017-06-11 10:46:07 +02:00
Andreas Dangel
fb56643590 Fix travis build for releases (refs #376) 2017-05-20 11:17:35 +02:00
Andreas Dangel
e5b38f7937 Fix travis build script, refs #376 2017-05-20 09:51:37 +02:00
Andreas Dangel
adced2dd26 Restructure travis build scripts, so that we have 3 steps, that can
run in parallel:
* build-deploy.sh
* build-site.sh
* build-sonar.sh
2017-05-15 21:11:43 +02:00
Andreas Dangel
aba44a8824 Make travis to use maven wrapper, too
refs #377
2017-05-05 11:37:51 +02:00
Andreas Dangel
00fcbd7375 Trying to speed up travis build: run the build only once... 2017-05-01 19:34:45 +02:00
Andreas Dangel
8503bbb3a3 Merge branch 'travis-automated-releases' 2017-03-03 15:44:45 +01:00
Andreas Dangel
14428ed3bf Improve release notes upload to github 2017-03-03 15:42:10 +01:00
Andreas Dangel
158e1501ea Update github oauth token 2017-03-03 15:41:23 +01:00
Andreas Dangel
8b1c2c2afa Merge branch 'travis-fixes' 2017-02-27 20:48:42 +01:00
Andreas Dangel
a39561df5f Setup the secrets only for non-pull-request builds when we have the
secure environment variables
2017-02-27 20:43:37 +01:00
Andreas Dangel
e5a126c9d6 Merge branch 'pmd/5.4.x' into pmd/5.5.x 2017-02-25 20:31:17 +01:00
Andreas Dangel
8eeb0f25c7 Update github release data after deploy step with name + changelog 2017-02-25 17:38:05 +01:00
Andreas Dangel
03b39acd0b travis: add files and repo configuration for releases, upload pmd.github.io 2017-02-25 16:24:31 +01:00
Andreas Dangel
b17f93085f Add web.sourceforge.net to ssh_known_hosts 2017-02-25 11:55:21 +01:00
Andreas Dangel
209c36e02c Move maven installation and configuration into separate script for travis 2017-02-25 10:57:14 +01:00
Andreas Dangel
2a416c8165 Update java and maven in travis build 2017-02-24 22:51:40 +01:00
Andreas Dangel
97dd84a374 Use gpg instead of gpg2 2017-02-24 20:41:52 +01:00
Andreas Dangel
f8f96e886e change directory back 2017-02-24 20:40:19 +01:00
Andreas Dangel
b6bd4c3c47 Use tar archive, since travis supports only one encrypted file 2017-02-24 20:36:45 +01:00
Andreas Dangel
597f598237 Reencrypt files for travis 2017-02-24 20:29:37 +01:00