40 Commits

Author SHA1 Message Date
cb5452fcbb Revert "travis: use travis_wait"
This reverts commit cd39cd6fa8486fef01811725c3d303e9accc2fab.
2017-06-11 10:50:42 +02:00
cd39cd6fa8 travis: use travis_wait 2017-06-11 09:26:35 +02:00
31ad613552 travis: run site upload in background job to mitigate no-output problem 2017-06-03 10:23:59 +02:00
e6e0483659 travis: fix path for $HOME/.m2 2017-06-02 09:29:08 +02:00
23545aa7ea travis build - run only specific parts of release.sh script 2017-05-20 23:53:28 +02:00
6aa77ce3e4 travis: run install before building site docu 2017-05-20 23:02:22 +02:00
fb56643590 Fix travis build for releases (refs #376) 2017-05-20 11:17:35 +02:00
050e659c68 Fix travis build, part 5 (refs #376) 2017-05-20 11:09:54 +02:00
eb0ddfcf2b Fix travis build, part 4 (refs #376)
Now, a push is a push
2017-05-20 10:43:14 +02:00
120c7cc1ff Fix travis build, add more info during build (refs #376) 2017-05-20 10:30:57 +02:00
64eac02bbd Fix travis build, part 3 (refs #376) 2017-05-20 09:59:30 +02:00
8ef25e839c Fix travis build, part 2 (refs #376) 2017-05-20 09:55:09 +02:00
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
39eb79f58e Fix build determining current version
Only take the last line of the output. Current maven wrapper
will output the current directy, later versions of the wrapper
will output the wrapper version.
2017-05-05 12:22:55 +02:00
767eea8b4e travis release script - fix missing escape for backslash, refs #324 2017-05-05 11:37:56 +02:00
aba44a8824 Make travis to use maven wrapper, too
refs #377
2017-05-05 11:37:51 +02:00
536280bb98 travis build: fix escaping of double quotes
closes #324
2017-04-14 11:50:37 +02:00
14428ed3bf Improve release notes upload to github 2017-03-03 15:42:10 +01:00
a55e88c413 Use sparse checkout for pmd.github.io 2017-03-03 15:41:23 +01:00
9388ce551e Travis - redirect output of sonar build into file 2017-02-27 20:43:37 +01:00
d8a367187c Travis - only run "mvn deploy", when it should be run 2017-02-27 20:43:37 +01:00
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
2196924b7d Specify branch name when pushing, make commit quiet 2017-02-25 21:38:42 +01:00
6e4a5aef0e Fix condition for when to upload the binaries to sourceforge
Travis builds each commit during the release process: this means,
the commit on the branch, which changes the version to a non-
SNAPSHOT version, is also built. And after that, the tag is built.
Therefore, we upload, when we build SNAPSHOTS or when we build from a
tag.
2017-02-25 21:29:45 +01:00
fcc515902c Add json request in output in case of error
Fix release script
2017-02-25 21:12:18 +01:00
d8ee6717ee Travis Build fixes
* Do only perform a release, if building from tag
* Add missing git config
* Output github releases request in case of error
2017-02-25 20:06:30 +01:00
8eeb0f25c7 Update github release data after deploy step with name + changelog 2017-02-25 17:38:05 +01:00
03b39acd0b travis: add files and repo configuration for releases, upload pmd.github.io 2017-02-25 16:24:31 +01:00
4d16c8d2d2 Log output of site building into file, to avoid travis log file limit
See also http://stackoverflow.com/questions/26082444/how-to-work-around-travis-cis-4mb-output-limit/26082445#26082445
2017-02-25 11:31:09 +01:00
dea5babb94 Another approach to get the current version that is being built 2017-02-25 10:57:41 +01:00
209c36e02c Move maven installation and configuration into separate script for travis 2017-02-25 10:57:14 +01:00
4c33ac21f7 echo out the current version being built by travis 2017-02-25 10:07:12 +01:00
6613a79429 Only rsync the snapshot site from master branch 2017-02-24 22:01:20 +01:00
57049e0c15 Remove travis plugin to enable toolchain.
Remove duplicated server entry in settings.xml
2017-02-24 21:32:19 +01:00
b6bd4c3c47 Use tar archive, since travis supports only one encrypted file 2017-02-24 20:36:45 +01:00
597f598237 Reencrypt files for travis 2017-02-24 20:29:37 +01:00
a0fe5222ad New travis build scripts
*   one for pull requests
*   one for pushes
*   one for releases
2017-02-24 20:10:22 +01:00
a37381e756 Prepare travis environment:
*   configure maven
*   configure ssh key
*   configure gpg key
2017-02-24 20:10:22 +01:00
32a56fd155 Use nexus staging profile, don't use oss-parent anymore 2017-02-24 20:10:22 +01:00
4a73f1d4f1 Move travis specific files into own subdirectory .travis 2017-02-24 20:09:38 +01:00