forked from torodb/mongowp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (23 loc) · 886 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
language: java
script: mvn -Psafer -Pintegration -Passembler -B -e -T 1C verify
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
before_script:
- export GIT_BRANCH=$TRAVIS_BRANCH
sudo: false
before_deploy:
- echo "<settings><servers><server><id>ossrh-snapshot</id><username>\${env.MAVEN_DEPLOY_USER}</username><password>\${env.MAVEN_DEPLOY_PASS}</password></server><server><id>ossrh-release</id><username>\${env.MAVEN_DEPLOY_USER}</username><password>\${env.MAVEN_DEPLOY_PASS}</password></server></servers></settings>" > ~/settings.xml
deploy:
- provider: script
script: mvn -B -e -T 1C -Pdeploy -DskipTests=true deploy --settings ~/settings.xml
skip_cleanup: true
on:
repo: 8kdata/mongowp
branch: devel
jdk: oraclejdk8
after_success:
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"