-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
30 lines (30 loc) · 1021 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
dist: trusty
language: java
jdk:
- oraclejdk8
notifications:
email:
on_success: change
on_failure: change
services:
- postgresql
before_script:
- psql -c "CREATE DATABASE cloudfier;" -U postgres
- psql -c "CREATE USER cloudfier;" -U postgres
- psql -c "GRANT ALL PRIVILEGES ON DATABASE cloudfier TO cloudfier;" -U postgres
cache:
directories:
- "$HOME/.m2"
install:
- mvn clean test
deploy:
provider: script
script: mvn package org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1:deploy
--settings deploy.settings.xml -DdeployAtEnd=true -Dmaven.test.skip=true -Ddeploy
skip_cleanup: true
on:
tags: true
env:
global:
- secure: Yl881XIByGWeA1+bwer9Sr3KdeseUtGAKeI969lY7mS+NY21e39ydMEUPMC+ZFV3fvvVJTY9+tsluhuRzkrbSZBWhwwx9jp53iFevDQqmQANx/FFEqV6K0LWeVSi77c8+8mCrW0goZgm4IkNQyflW42sxjGMZHQ4Soy4jcMjbWc=
- secure: gSNOm6TGpAbfiYub9dtszOBNlF3ixIwauOgZ1MP0AD/xsYmPcXYwJfgoYaKFY9R9lONd6HeEyGibopR773Fu1V01aH6QT+9DiMrs5IBkAYf/UVBTdwTV4eMRc2C3wsr0fQNEM7EtWA/2Qr82N7y4w+WX2/vRniFbGEzmwrvNefc=