Skip to content

Commit cce0648

Browse files
committed
Use custom Ant on Travis-CI
Travis-CI’s version of Ant is too old (1.8.2) to properly download all 3rd party archives, so we have to use the latest version of Ant (1.10.0) so that this works.
1 parent 89582b6 commit cce0648

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ sudo: false
22
language: java
33
before_install:
44
- ant -version
5+
- wget http://apache.mirrors.pair.com//ant/binaries/apache-ant-1.10.0-bin.tar.gz
6+
- tar -xf apache-ant-1.10.0-bin.tar.gz
7+
- export ANT_HOME=$PWD/apache-ant-1.10.0
8+
- export PATH=$ANT_HOME/bin:$PATH
9+
- ant -version
510

611
install: ant deps
712
script: ant test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Strongback is a new open source software library that makes your robot code ligh
2020

2121
# Building locally
2222

23-
If you want to build Strongback locally, you will need to have installed JDK 1.8, Eclipse Mars (version 4.5.0 or later), Ant 1.9.2 or later, and Git 2.2.1 or later. Then, use Git to clone this repository (or your GitHub fork). Before importing into Eclipse, build the code and run the unit tests using Ant:
23+
If you want to build Strongback locally, you will need to have installed JDK 1.8, Eclipse Mars (version 4.5.0 or later), Ant 1.10.0 or later, and Git 2.2.1 or later. Then, use Git to clone this repository (or your GitHub fork). Before importing into Eclipse, build the code and run the unit tests using Ant:
2424

2525
$ ant test
2626

0 commit comments

Comments
 (0)