-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy path.travis.yml
41 lines (36 loc) · 857 Bytes
/
.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
32
33
34
35
36
37
38
39
40
41
language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
branches:
# only:
# master
# for deploy using tag commit
# we need except all beyond master and tag
# will not deploy if only: master
except:
- develop
- gh-pages
#git flow branches following
- 'feature/*'
- 'hotfix/*'
- 'release/*'
install:
- mvn install
- mvn -P full install
deploy:
- provider: releases
api_key: '$GITHUB_API_KEY' #refer to travis environment varible setting
file_glob: true
file: "output/*.jar" #JComicDownload-v5.30.jar JComicDownload-v5.30-FULL.jar
skip_cleanup: true
on:
tags: true
# - provider: pages
# api_key: '$GITHUB_API_KEY' #refer to travis environment varible setting
# file_glob: true
# file: "target/*.jar" #JComicDownload-v5.30.jar
# skip_cleanup: true
# on:
# tags: true