-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.travis.yml
More file actions
44 lines (44 loc) · 1.52 KB
/
.travis.yml
File metadata and controls
44 lines (44 loc) · 1.52 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
language: java
jdk:
- oraclejdk8
notifications:
email: false
slack: deboners:TERyzXd4pwBSoxhHLkrufh46
webhooks:
- http://octopull.rmhartog.me/api/travis/webhook
before_install:
- "[ \"$BUILD_PR_BRANCH\" = \"true\" ] && git checkout $TRAVIS_BRANCH && echo \"OCTOPULL_SHA=$(git rev-parse HEAD)\"; true"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
env:
- BUILD_PR_BRANCH=true
- BUILD_PR_BRANCH=false
matrix:
allow_failures:
- env:
- BUILD_PR_BRANCH=true
after_script:
- echo "== CHECKSTYLE_RESULT ==" && cat "target/checkstyle-result.xml" && echo "== END_CHECKSTYLE_RESULT =="
- echo "== PMD_RESULT ==" && cat "target/pmd.xml" && echo "== END_PMD_RESULT =="
- echo "== FINDBUGS_RESULT ==" && cat "target/findbugs.xml" && echo "== END_FINDBUGS_RESULT =="
before_deploy:
- git config --global user.email "builds@travis-ci.com"
- git config --global user.name "Travis CI"
- export GIT_TAG=$TRAVIS_BRANCH-1.0.$TRAVIS_BUILD_NUMBER
- git tag $GIT_TAG -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER"
- git push -q https://$GITPERM@github.com/ProgrammingLife3/ProgrammingLife3 --tags
- ls -R
deploy:
skip_cleanup: true
provider: releases
api_key: $GITPERM
file: target/Helix2-1.0-jar-with-dependencies.jar
on:
tags: false
branch: master
branches:
except:
- /^*-v[0-9]/
env:
global:
secure: d6foWLlULpBMgkenopdVm4XvFc5Wy1o1oh4Xe2iycBOKr+6pm3qsBaZyyRN+B7ZKmDHKwyyTq6GGCBdf2rFVuR0kwYJUbT8VktXpLA95+KioHj0JX6/1L+Tr6KbZh4+WBlG3zI+8nOaT0/R2baycdzJXLGwD7647LzoV00tqPIY=