Skip to content

Commit 1c58a68

Browse files
committed
Merge branch 'master' of https://github.com/java-native-access/jna into primarygroup
2 parents 1e8b28b + 5ee1575 commit 1c58a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dist: trusty
44
language: java
55

66
install:
7-
- export APACHE_ANT_BASE=$(curl http://apache.mirror.iphh.net/ant/binaries/ | grep "apache-ant-1.9..*-bin.tar.gz" | sed 's/.*href="\(.*\)-bin.tar.gz".*/\1/g')
7+
- export APACHE_ANT_BASE=$(curl http://apache.mirror.iphh.net/ant/binaries/ | grep "apache-ant-1.9..*-bin.tar.gz" | tail -1 | sed 's/.*href="\(.*\)-bin.tar.gz".*/\1/g')
88
- 'echo "Apache Ant ARCHIVE: $APACHE_ANT_BASE"'
99
- '[ "${TRAVIS_OS_NAME}" = "linux" ] && wget http://apache.mirror.iphh.net/ant/binaries/$APACHE_ANT_BASE-bin.tar.gz && tar xzf $APACHE_ANT_BASE-bin.tar.gz && sudo mv $APACHE_ANT_BASE /usr/local/$APACHE_ANT_BASE && sudo rm -f /usr/local/ant && sudo ln -s /usr/local/$APACHE_ANT_BASE /usr/local/ant && sudo ln -s /usr/local/$APACHE_ANT_BASE/bin/ant /usr/local/bin/ant || true'
1010
- '[ "${TRAVIS_OS_NAME}" = "osx" ] && brew update || true'

0 commit comments

Comments
 (0)