Skip to content
Permalink
Browse files
Merge pull request #99 from apache/LicenseSwap
Update pom with cobertura / coveralls
  • Loading branch information
leerho committed Jun 14, 2019
2 parents f96989e + 9aa8cbd commit eea9731bf80d62933574d2e5f412d42c6704ecbc
Showing 2 changed files with 215 additions and 278 deletions.
@@ -1,25 +1,41 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# http://docs.travis-ci.com/user/customizing-the-build/

# Execute Maven to create Cobertura report and submit Coveralls data:
#. mvn cobertura:cobertura coveralls:report

language: java

sudo: false # faster builds

jdk:
- oraclejdk8
#TODO-JDK9: - oraclejdk9

install:
- mvn install -Dmaven.javadoc.skip=true -Dsource.skip=true -DskipTests=true -Dgpg.skip=true
#TODO-JDK9: - mvn install -Dmaven.compiler.fork=true -Dmaven.javadoc.skip=true -Dsource.skip=true -DskipTests=true -Dgpg.skip=true -Pstrict

before_script:
- _JAVA_OPTIONS="-Xmx4g -Xms1g"

script:
- mvn clean compile test -Dgpg.skip=true
#TODO-JDK9: - mvn clean compile test -Dgpg.skip=true -Pstrict -Dmaven.compiler.fork=true

after_success:
- mvn clean test jacoco:report coveralls:report -DrepoToken=$coveralls_token
#TODO-JDK9: - mvn clean test jacoco:report coveralls:report -DrepoToken=$coveralls_token -Pstrict -Dmaven.compiler.fork=true
- mvn clean cobertura:cobertura coveralls:report

notifications:
email: false

0 comments on commit eea9731

Please sign in to comment.