-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (28 loc) · 855 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
language: java
jdk:
- oraclejdk8
branches:
only:
- master
before_script:
- pip install --user codecov
after_success:
- codecov --token=$TOKEN_CODECOV
before_deploy:
- git config --global user.email "builds@travis-ci.com"
- git config --global user.name "Travis CI"
- export GIT_TAG=$TRAVIS_BRANCH-v0.1.$TRAVIS_BUILD_NUMBER-beta
- git tag $GIT_TAG -a -m "\nThis is a automaticlly deployed version of the project. This version was also tested by unit tests and only when it went through the tests it will be deployed, but this isn't a guarantee for a version without bugs."
- git push -q https://$TOKEN@github.com/sweetcode/DataHolder --tags
deploy:
skip_cleanup: true
provider: releases
api_key: $TOKEN
file:
- "target/DataHolder.jar"
on:
tags: false
all_branches: true
branches:
except:
- /^*-v[0-9]/