This repository was archived by the owner on Dec 12, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +34
-9
lines changed Expand file tree Collapse file tree 5 files changed +34
-9
lines changed Original file line number Diff line number Diff line change 1
1
language : java
2
- sudo : false
3
- jdk :
4
- - openjdk7
5
- - oraclejdk7
6
- - oraclejdk8
2
+ dist : precise
7
3
addons :
8
4
apt :
9
5
packages :
@@ -20,3 +16,17 @@ after_success:
20
16
notifications :
21
17
slack :
22
18
secure : INiA7V4aXvimkImaErVH94ZSmFNuOgun9aurmf3BiE2Qq0EfNiEaWK9pp6hfkv+wSls4LXNDLaYVzdoMECVLh+Dv9VLHIABnaNEmMStXUlyZ+sOpdayl/47gnNr0G1cr06eqbikGVqWtQaxDz2Psaejq2D/6WYw5Vnqk4BjWQHw=
19
+
20
+ matrix :
21
+ include :
22
+ - os : linux
23
+ sudo : required
24
+ jdk : openjdk7
25
+ - os : linux
26
+ sudo : false
27
+ dist : precise
28
+ jdk : oraclejdk7
29
+ - os : linux
30
+ sudo : false
31
+ dist : precise
32
+ jdk : oraclejdk8
Original file line number Diff line number Diff line change @@ -4,6 +4,18 @@ source ./ci/common.sh
4
4
5
5
./ci/travis_bootstrap.sh
6
6
7
+ # if openjdk7 then hackup the hostname to prevent a buffer overflow travis-ci/travis-ci#5227
8
+ if [ $TRAVIS_JDK_VERSION == ' openjdk7' ]
9
+ then
10
+ echo " \nOriginal /etc/hosts:"
11
+ cat /etc/hosts
12
+ sudo hostname " $( hostname | cut -c1-63) "
13
+ sed -e " s/^\\ (127\\ .0\\ .0\\ .1.*\\ )/\\ 1 $( hostname | cut -c1-63) /" /etc/hosts | sudo tee /etc/hosts
14
+ echo " \nNew /etc/hosts:"
15
+ cat /etc/hosts
16
+ echo " "
17
+ fi
18
+
7
19
cp id_rsa_stormpath.github.io " $HOME /.ssh/id_rsa"
8
20
chmod 600 " $HOME /.ssh/id_rsa"
9
21
mkdir -p " $HOME /.stormpath/clover"
@@ -24,4 +36,7 @@ echo "Version: $RELEASE_VERSION"
24
36
echo " Is release: ${IS_RELEASE:- false} "
25
37
echo " Build documentation: ${BUILD_DOCS:- false} "
26
38
echo " Running IT tests: ${RUN_ITS:- false} "
39
+ echo " which java: $( which java) "
40
+ echo " mvn --version:"
41
+ mvn --version
27
42
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ source ./ci/common.sh
4
4
5
5
if [ -n " $RUN_ITS " ]; then
6
6
info " Running unit and IT tests..."
7
- (mvn -s ci/settings.xml -Pclover.all -q install & > $WORKDIR /target/tests.log) &
7
+ (mvn -s ci/settings.xml -Pclover.all install & > $WORKDIR /target/tests.log) &
8
8
PID=$!
9
9
show_spinner " $PID "
10
10
20
20
21
21
if [ -z " $RUN_ITS " ]; then
22
22
info " Running unit tests..."
23
- (mvn -s ci/settings.xml -q install & > $WORKDIR /target/tests.log) &
23
+ (mvn -s ci/settings.xml install & > $WORKDIR /target/tests.log) &
24
24
PID=$!
25
25
show_spinner " $PID "
26
26
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ if [ "$EXIT_CODE" -ne 0 ]; then
22
22
fi
23
23
24
24
info " Generating JavaDocs..."
25
- (mvn -s ci/settings.xml -q javadoc:aggregate -P travis-docs & > $WORKDIR /target/javadocs.log) &
25
+ (mvn -s ci/settings.xml javadoc:aggregate -P travis-docs & > $WORKDIR /target/javadocs.log) &
26
26
PID=$!
27
27
28
28
show_spinner " $PID "
Original file line number Diff line number Diff line change 771
771
<properties >
772
772
<!-- Issue 84: JDK 8 requires strict HTML. We'll disable this strictness until we can
773
773
clean up the HTML source in JavaDoc comments: -->
774
- <additionalparam >-Xdoclint:none</additionalparam >
774
+ <additionalparam >-Xdoclint:none --allow-script-in-comments </additionalparam >
775
775
</properties >
776
776
</profile >
777
777
<profile >
You can’t perform that action at this time.
0 commit comments