Andreas Dangel
a2a4027976
[ci] Fix github-releases-api script to preserve the tag_name
...
Obviously, when updating the release to add the release notes,
the tag_name gets lost, resulting in github creating a
"untagged_xyz" tag and not connecting the release to the correct
tag, although the commit matches.
2020-02-08 10:51:12 +01:00
Andreas Dangel
c607292b42
[ci] Update openjdk to 11.0.6+10
2020-01-16 18:23:03 +01:00
Andreas Dangel
78c8ea2749
[ci] Fix travis.yml warnings
...
* setting root os to linux
* using jobs instead of matrix
2019-12-16 14:41:58 +01:00
Andreas Dangel
70f0597887
[ci] Update release signing key
...
New key: PMD Release Signing Key <releases@pmd-code.org>
0xD0BF1D737C9A1C22
Valid till 2020-12-15
2019-12-16 14:41:11 +01:00
Andreas Dangel
79c61c982a
[ci] Execute sonar and coveralls only for pushes
...
This avoids spinning up VMs for these jobs as they would not
execute any script anyways. Sonar and coveralls are only
updated for pushes.
2019-11-11 19:40:00 +01:00
Andreas Dangel
fd52b4b8ea
[ci] Add stage build and publish
...
Publish is executed after all build jobs are finished.
2019-11-10 18:40:30 +01:00
Andreas Dangel
bef59f1f1c
[ci] Merge release.sh into build-{deploy,doc}.sh with manual github releases
...
A draft github release is created or the latest release is reused,
if it is a draft release.
Assets are uploaded, release notes are added.
The release is left in draft state.
2019-11-10 18:40:30 +01:00
Andreas Dangel
1649e5c9a8
Merge branch 'pr-2085'
...
[ci] Update to bionic on travis
2019-11-01 09:02:23 +01:00
Andreas Dangel
0460c38aa9
[ci] Update to bionic on travis
2019-10-26 17:35:41 +02:00
Andreas Dangel
4ee8e65417
Upload release notes with the "docs" build.
...
The github release is first created as a draft, when we edit
the release notes, we publish it (draft=false), so that the
release notification mail contains the full release notes.
2019-10-26 11:52:20 +02:00
Andreas Dangel
f10b631d76
[ci] Only execute deployment provider under linux
...
Previously it had also been executed under the macosx build,
see https://travis-ci.org/pmd/pmd/jobs/585148459#L6700
2019-10-26 11:39:16 +02:00
Andreas Dangel
f343932a4f
[ci] Allow the windows job to fail for now
...
There seems to be some problem when the deploy phase is executed,
which happens only on pushes - for PRs the deploy is not executed
at all.
Although the deploy is skipped (since this is not a tagged build),
the windows job hangs after that.
Maybe we need to deploy to github releases manually, as we do
for the release notes already. That way, we wouldn't use the
deployment mechanism of travis.
2019-10-26 11:35:29 +02:00
Andreas Dangel
2b66fb76cb
Merge branch 'master' into travis-windows
2019-10-25 14:27:17 +02:00
Andreas Dangel
72d31b2b30
[ci] Update to openjdk 11.0.5+10
2019-10-25 14:27:02 +02:00
Andreas Dangel
1209b162a9
[ci] Explicitly configure known_hosts for web.sourceforge.net
2019-10-24 20:29:16 +02:00
Andreas Dangel
c3409c4aa7
[ci] Download openjdk from https://pmd-code.org/openjdk/
...
* Note: Download is only possible from travis
* Make openjdk version configurable in .travis.yml
* Skip download, if already downloaded
2019-10-18 19:47:18 +02:00
Andreas Dangel
23109d7b69
[ci] Add travis build on windows
...
* New parallel build for windows
* New before_install.sh script that prepares java, maven, ruby
2019-10-18 19:47:13 +02:00
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