26 Commits

Author SHA1 Message Date
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
acdab9df56 [ci] Fix java10 installation for sonar 2018-09-02 12:31:11 +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
Andreas Dangel
2264d3c964 [ci] Fix sonar / coveralls build after switching to jdk 11
Also update jacoco plugin to 0.8.2
2018-09-01 23:11:12 +02:00
Andreas Dangel
a89d5413ab [ci] [docs] Improved detection for changes in documentation
Now only updating docs on sourceforge, if there are changes
2018-06-20 20:57:27 +02:00
Andreas Dangel
19d65171bd Rename colors.sh -> logger.sh 2018-05-24 19:20:12 +02:00
Andreas Dangel
281f151197 Use log_info, log_error, log_success functions instead of the colors 2018-05-24 19:18:57 +02:00
Andreas Dangel
ac9f0ac1d4 [ci] Add colors, don't fail the build/release if upload to sourceforge fails 2018-05-22 20:29:32 +02:00
Andreas Dangel
73de6eb1f0 [ci] Use Java9 for building PMD
Fixes #854
2018-02-18 21:49:25 +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
f436e8b38f [ci] fix sonar.host.url - it's now https://sonarcloud.io 2017-11-23 20:23:31 +01:00
Andreas Dangel
e737e38d73 [ci] check for var encrypted_5630fbebf057_iv in setup-secrets
This should now allow forked builds to finally run on travis...
2017-10-13 10:37:16 +02:00
Andreas Dangel
6fc758c21a [ci] enable all java9 modules for sonar and coveralls 2017-10-01 14:08:07 +02:00
Andreas Dangel
e991f2c4f3 [ci] run sonar and coveralls without travis wait 2017-10-01 13:40:49 +02:00
Juan Martín Sotuyo Dodero
d5d32f996b Make bash scripts executable 2017-07-27 21:43:34 -03:00
Andreas Dangel
8b109f9981 [ci] let's try the quiet option (-q) of maven
travis_wait_truncated doesn't work, since the pipes are buffered...
2017-07-08 13:10:32 +02:00
Andreas Dangel
e9ac18427a [ci] add a truncated travis_wait function
Since travis_wait outputs the "Still running" indication into the
same stream as the command's output, we need to make sure, we
output these indications to avoid a build timeout.
But to workaround the log size limit, we shouldn't output everything.
travis_wait_truncated now outputs the head immediately, while
only outputting the tail of the log after the command is finished.
2017-07-08 12:48:43 +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
eb0ddfcf2b Fix travis build, part 4 (refs #376)
Now, a push is a push
2017-05-20 10:43:14 +02:00
Andreas Dangel
120c7cc1ff Fix travis build, add more info during build (refs #376) 2017-05-20 10:30:57 +02:00
Andreas Dangel
64eac02bbd Fix travis build, part 3 (refs #376) 2017-05-20 09:59:30 +02:00
Andreas Dangel
8ef25e839c Fix travis build, part 2 (refs #376) 2017-05-20 09:55:09 +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
9388ce551e Travis - redirect output of sonar build into file 2017-02-27 20:43:37 +01:00