-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
31 lines (31 loc) · 2.35 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
31
arch: amd64
os: linux
dist: jammy
sudo: required
language: java
jdk:
- openjdk11
branches:
only:
- master
- develop
before_install:
- mkdir -p ~/.m2; wget -q -O ~/.m2/settings.xml https://raw.githubusercontent.com/AtlasOfLivingAustralia/travis-build-configuration/master/travis_maven_settings_simple.xml
- sudo mkdir -p /data/lucene; sudo wget -O /data/lucene/namematching-20210811-3.tgz
https://archives.ala.org.au/archives/nameindexes/20210811-3/namematching-20210811-3.tgz
- cd /data/lucene
- sudo tar zxvf namematching-20210811-3.tgz
- sudo ln -s namematching-20210811-3 namematching
- ls -laF
- sudo mkdir -p /data/sds
- sudo wget -O /data/sds/sds-test-config.tgz https://archives.ala.org.au/archives/test/sds-test-config.tgz
- cd /data/sds
- sudo tar xvzf sds-test-config.tgz
- cd $TRAVIS_BUILD_DIR
- echo TRAVIS_PULL_REQUEST = ${TRAVIS_PULL_REQUEST}
script:
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then mvn -P travis clean install deploy; else mvn -P travis clean install; fi'
env:
global:
- secure: X0XB8WFY8qu7oF8wnniEU8ihb+uPb2U+0kySBl5qWQXWO8kRjWjpp53lHP4Fr8fgtybpuHKaH2Q+3hgvpZtunM7+kxTgSEHRxFhqKJYs4VgddHw+HkGEsmn0IVTyS7cDiAHoEFIlq/+pCe6ONioeE4ZYtYcXp5ylVClU1IVIeUwwWfDMX18xbfLaZD/tOEVLiDsWvLx7R1/PFopVmkbPS93T9qJZIxGmcfry1S6boykPXQsSqKVg3w7mo7pWwFeGVasrHKNLXjzVSRRafQWFjEvWkTn1hP76mxlMOKGKcUHObjSQdYSOT7f9FMA7if/xYQKzjvDtmkqjwtcA1Rxt/M/3XytZnW4FsFkN9/OpucDK0QsGC0uEdpO+SXo93ay/JYJ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