Skip to content

Commit 3e6f192

Browse files
authored
Updated .travis.yml to force the use of ant over gradle
- The custom install script prevents Travis' auto-detection of the build tool. - `install: ant <target>` forces the use of ant even if a build.grade file is detected.
1 parent bc9d3b9 commit 3e6f192

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ addons:
2525
packages:
2626
- ant-optional
2727

28+
# Custom install script to force using ant instead of gradle if travis detects a build.gradle file.
29+
install:
30+
# Using clean as dummy target; could install dependencies here if needed.
31+
- ant clean
32+
2833
# Use xvfb to run tests that require a GUI and give it some time to start
2934
before_script:
3035
- "export DISPLAY=:99.0"

0 commit comments

Comments
 (0)