forked from java-native-access/jna
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (25 loc) · 1.12 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
os: linux
dist: trusty
language: java
before_install:
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)'
then
echo "Not running CI since only docs were changed."
travis_terminate 0
fi
- sudo apt-get -m install openjdk-11-jdk libltdl-dev;
- export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-arm64;
- export PATH=$JAVA_HOME/bin:$PATH;
install:
- 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')
- 'echo "Apache Ant ARCHIVE: $APACHE_ANT_BASE"'
- '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'
- 'sudo apt-get -y install texinfo || true'
script:
- ant test
- ant test-platform
jobs:
include:
- name: "Linux JDK11 ARM"
arch: arm64