-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.travis.yml
33 lines (33 loc) · 893 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
branches:
except:
- nightly
language: java
dist: xenial
jdk: openjdk8
cache:
directories:
- "$HOME/.m2"
before_install:
- sudo apt-get install libsvn-java
before_script:
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jni
before_deploy:
- git config --local user.name "Hiromu Hota"
- git config --local user.email "[email protected]"
- export TRAVIS_TAG=nightly
- git tag $TRAVIS_TAG --force
- git push -f https://${GITHUB_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git $TRAVIS_TAG
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: target/pdi-git-plugin-*-jar-with-dependencies.zip
skip_cleanup: true
on:
branch: master
name: nightly
body: Auto-build of $TRAVIS_BRANCH ($TRAVIS_COMMIT) by Travis CI on $(date +'%F %T %Z').
prerelease: true
overwrite: true
tag_name: $TRAVIS_TAG
target_commitish: $TRAVIS_COMMIT