-
Notifications
You must be signed in to change notification settings - Fork 144
/
.travis.yml
42 lines (38 loc) · 909 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
42
language: java
sudo: false # faster builds
matrix:
include:
- os: linux
sudo: required
jdk: openjdk8
script:
- ./plugin-script/package_plugin.sh
before_cache:
- rm -f $HOME/.gradle/caches/**
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
#
#before_deploy:
# - git config --local user.name "tangcent"
# - git config --local user.email "[email protected]"
# - echo jars- `ls plugin`
# - ./plugin-script/push_tag.sh
# - export TRAVIS_TAG=`cat tag.txt`
# - export TRAVIS_TAG_TITLE=`cat title.txt`
# - export TRAVIS_TAG_BODY=`cat body.txt`
#
## https://github.com/travis-ci/dpl#github-releases
#deploy:
# provider: releases
# api_key: $GITHUB_TOKEN
# name: ${TRAVIS_TAG_TITLE}
# body: ${TRAVIS_TAG_BODY}
# file_glob: true
# file: plugin/*
# overwrite: true
# skip_cleanup: true
# on:
# branch: master
# repo: tangcent/easy-api