-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
30 lines (24 loc) · 755 Bytes
/
Copy path.travis.yml
File metadata and controls
30 lines (24 loc) · 755 Bytes
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
language: java
jdk: oraclejdk8
services:
- postgresql
before_install:
- chmod +x mvnw
- sudo sed -i -e '/local.*peer/s/postgres/all/' -e 's/peer\|md5/trust/g' /etc/postgresql/*/main/pg_hba.conf
- sudo service postgresql restart
- sleep 1
addons:
sonarcloud:
organization: "tiberlas"
token:
secure: $SONAR_TOKEN # encrypted value of your token
script:
- ./mvnw clean install -q -DskipTests=true -B
# the following command line builds the project, runs the tests with coverage and then execute the SonarCloud analysis
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
dist: trusty
deploy:
provider: heroku
api_key:
secure: a59bde74-e9e3-4173-a924-61d3eaa20fd8
app: dr-help-backend