eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jay...@apache.org
Subject eagle git commit: [EAGLE-982] The log length has exceeded the limit of 4 MB in Travis
Date Mon, 17 Apr 2017 21:10:42 GMT
Repository: eagle
Updated Branches:
  refs/heads/master fc7281d71 -> ecb5129ec


[EAGLE-982] The log length has exceeded the limit of 4 MB in Travis

Maven throw too many warnings for checking `Code Style` in `Travis`. Should we disable it
for a while until we fix those `Code Style` issues?
```
The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising
the same exception over and over).
The job has been terminated
```

(https://issues.apache.org/jira/browse/EAGLE-982)

Author: asdf2014 <1571805553@qq.com>
Author: Benedict Jin <16110505@cnsuning.com>

Closes #897 from asdf2014/travis_log.


Project: http://git-wip-us.apache.org/repos/asf/eagle/repo
Commit: http://git-wip-us.apache.org/repos/asf/eagle/commit/ecb5129e
Tree: http://git-wip-us.apache.org/repos/asf/eagle/tree/ecb5129e
Diff: http://git-wip-us.apache.org/repos/asf/eagle/diff/ecb5129e

Branch: refs/heads/master
Commit: ecb5129ec5b1ccc2be528a3ae98d94754a3b92df
Parents: fc7281d
Author: asdf2014 <1571805553@qq.com>
Authored: Mon Apr 17 14:10:36 2017 -0700
Committer: Jay <jhsonline@gmail.com>
Committed: Mon Apr 17 14:10:36 2017 -0700

----------------------------------------------------------------------
 .travis.yml | 18 ++++++++++++++++--
 pom.xml     |  2 +-
 2 files changed, 17 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/eagle/blob/ecb5129e/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index cfe5014..509f795 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,6 +14,20 @@
 # limitations under the License.
 
 language: java
-script: mvn clean test
+
 jdk:
-  - oraclejdk8
\ No newline at end of file
+  - oraclejdk8
+
+before_install: sudo echo "MAVEN_OPTS='-Xmx2048m -Xms1024m -Dorg.slf4j.simpleLogger.defaultLogLevel=error'"
> ~/.mavenrc
+
+script: mvn clean test
+
+env:
+  global:
+    - MAVEN_OPTS: "-Xmx2048m -Xms1024m -Dorg.slf4j.simpleLogger.defaultLogLevel=error"
+
+sudo: required
+
+cache:
+  directories:
+    - $HOME/.m2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/eagle/blob/ecb5129e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 7862e6f..5115602 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1126,7 +1126,7 @@
                     <artifactId>maven-surefire-plugin</artifactId>
                     <version>${maven-surefire.version}</version>
                     <configuration>
-                        <argLine>-XX:-UseGCOverheadLimit</argLine>
+                        <argLine>-Xmx2048m -Xms1024m -XX:MaxPermSize=512m -XX:-UseGCOverheadLimit</argLine>
                         <forkMode>always</forkMode>
                     </configuration>
                     <dependencies>


Mime
View raw message