-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.travis.yml
More file actions
51 lines (36 loc) · 1.58 KB
/
Copy path.travis.yml
File metadata and controls
51 lines (36 loc) · 1.58 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
language: java
os: linux
sudo: false
jdk:
# - oraclejdk9
# - oraclejdk8
- openjdk14
cache:
directories:
- $HOME/.m2
notifications:
email:
on_success: never
# will be executed before maven is called
before_install:
# no matter what format we have locally, travis should always generate the zip file
- sed -i -e 's/<format>dir<\/format>/<format>zip<\/format>/g' src/main/resources/assembly.xml
# Test
- cp .travis.settings.xml $HOME/.m2/settings.xml
# make sure we have a clean target folder
- rm -rf target/*
install: mvn -e install -DskipTests=true -Dmaven.javadoc.skip=true --batch-mode --show-version --settings .travis.settings.xml
before_deploy:
- export DEPLOY_FILE=$(ls target/aptasuite*.zip)
deploy:
provider: releases
api_key:
secure: u8SF6exq0fiQ4eTjiX9cJB4W9+MDjMv8Zqtfrc9aNkCZZwyJ7pIMDtPB2uWOiFNLts35kKwGTt/w9kCvUihlhIaQWnpJligVyeW7p1cfUUzwPxs0QuRKQTwwdXwTDK07s8KeZM9qIVVRA8EVC3JWBgKEdjGFlDQs8PE26tqhmSWukf/8UpBghVpy3kWEexmyfKH07TTzUG1K8I7zittl/ug7lied8eeh0ngmeh7TZdwZQyibZ8ttFD7UUp5sXpPvEg915/9UfE+Bl3luJuukBQ5f32Ox/5phOShbF6bY+/FgGMdG0e3W3HXXFdbRzlsU7sA1czEfolL/GceI642Wu7OPqiFW2qo0eKxnOvZWhp6cR2xEVWYG5PcFZKYeCKG5PDBiuwb9QLeTZ+6MT9BSb/+1nJYhert6Bb5smI9IzqOzmCF3OQt8MhOQZcgbTzfkGEftADPOGwkwFy9LhpTbHNiksE0++wnlAw8lyFNN50mQNIdQ0GV+k2qzk40EK5TkthGGf22hnEdzvxz36i4FErOm6BM04zG6wPWNuYuZ4YJkQl4LXZuLabSPDmADhIYoi5UVnFwwbWafktDhmz8bPRNTVElvZtozG1JA8dbUYsqEkbS/ZbIJjNA9Yu2/7wMEL698r8OzEy4gIJb4BU3UjRPrsfybDCB4c7l6pgmXSOc=
skip_cleanup: true
file: "${DEPLOY_FILE}"
overwrite: true
edge: true
on:
repo: drivenbyentropy/aptasuite
tags: true
#jdk: openjdk14