Skip to content

Commit

Permalink
Changed env variable to keep track of build id
Browse files Browse the repository at this point in the history
  • Loading branch information
abbruzze committed Feb 1, 2017
1 parent b8b78c9 commit 0c916a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: java

jdk:
- oraclejdk8

script: ant -f Kernal64/build/build.xml
language: java

jdk:
- oraclejdk8

script: ant -DBUILD_NUMBER=$TRAVIS_BUILD_NUMBER -f Kernal64/build/build.xml
8 changes: 4 additions & 4 deletions Kernal64/build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
</not>
</condition>

<!-- label is set only if ant is executed by Drone CI -->
<condition property="DRONE_BUILD_NUMBER" value="?">
<!-- label is set only if ant is executed by CI -->
<condition property="BUILD_NUMBER" value="?">
<not>
<isset property="DRONE_BUILD_NUMBER"/>
<isset property="BUILD_NUMBER"/>
</not>
</condition>

<property name="version" value="${VERSION} b${DRONE_BUILD_NUMBER}"/>
<property name="version" value="${VERSION} b${BUILD_NUMBER}"/>

<target name="scala-init">
<property name="scala-library.jar" value="${lib.dir}/scala-library.jar" />
Expand Down

0 comments on commit 0c916a8

Please sign in to comment.