Skip to content

Commit

Permalink
Split tasks so that Coverity would only compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpaljak committed Jan 15, 2016
1 parent c5b002f commit 4243aed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ sudo: required
language: java
jdk:
- oraclejdk8
before_install:
- git submodule update --init --recursive
script: ant dist
env:
global:
Expand All @@ -14,7 +12,7 @@ addons:
name: martinpaljak/GlobalPlatformPro
description: GlobalPlatformPro from javacard.pro
notification_email: martin@martinpaljak.net
build_command_prepend:
build_command_prepend: ant fetch
build_command: ant compile
branch_pattern: coverity

Expand Down
5 changes: 3 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,16 @@
<pathelement location="lib/bcprov-jdk15on-154.jar"/>
<pathelement location="lib/slf4j-api-1.7.13.jar"/>
</path>
<target name="compile" description="compile the source" depends="fetch">
<target name="make" depends="fetch,compile"/>
<target name="compile" description="compile the source">
<mkdir dir="build"/>
<javac srcdir="src" destdir="build" includeantruntime="false" excludes="**/tests/**" debug="true" debuglevel="lines,vars,source">
<compilerarg value="-Xlint"/>
<classpath refid="build.classpath"/>
</javac>
</target>
<!-- Package it into a nice little JAR -->
<target name="dist" depends="compile" description="generate the distribution">
<target name="dist" depends="make" description="generate the distribution">
<exec command="git describe --always --tags" output="version.txt"/>
<java classname="proguard.ProGuard" fork="true" failonerror="true">
<arg line="@globalplatform.pro"/>
Expand Down

0 comments on commit 4243aed

Please sign in to comment.