forked from mbarre/schemacrawler-additional-lints
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (41 loc) · 3.71 KB
/
.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
34
35
36
37
38
39
40
41
language: java
jdk:
- oraclejdk8
cache:
directories:
- .autoconf
- $HOME/.m2
env:
global:
- secure: qczyIZl7He/Hh5TwFkMUwSnyYwB/b1XCQXG2PnDJWfLkRVZ8+UAnl0yt05b7pMXKeJ0UfaglSzcvXI2++UcNVkjZoGRp/9HuKgqafzBjrDyLh/6rdbmZyIE4tj9txCnGglu/bQWMJ407UtRtzwx5mGXsCNBjYbfMYwoePmSeK3BeTg7kV9Wsx7+jqHcrczywapMDGh8v+HY7P8i2jw67dBdHP6B4HgnKdvt1SuHzJ0WMp73u4jb/kQu4vHKIZaKadYmq5htKhcD/zXkd4v6veO4Cp6esT9kmNFFeqdoJRbNX/khzG3VzDqbnX/6Z1+8ruJv8WnOUlRhaJDox77t7fTu0Qq7gbFG0/zf56a/JMjE4+KKyD7W+EY1hVrZQ8n+l5C8lrVRHu7tc19x72ruXhem/RyBf/8PtFCr9+GuJy2uSg2SANnE1xWJFe+xgEgenXYI07g01sE8GDLFm4p59sWn818aHrtqoEuoLTK0WDSPLz+Hv9orpTuNFGkYsAdlnpjlswPXCLDicSSj37G5+Un/H+gbgU1efNYx8mL9BDRPYnO3XIex/mFh/sJnsv9oBXS0Wu4g1YJ3z/LHqBZSiUwMwOhEtvwyUeNIBPqVUO6YfYZH75CIxRg05Da899nJAyMG9flz9hoHhK1TrFbiqRCaWMqKH057UfGTKpVrHGOk=
#defines SONAR_TOKEN
- secure: gw32l1VoKdS6gt6DXn2U14R+sqsBWowEwTIvu86yFz2UxhpW2PXDWOkuhzMyE/N1uQtlHFYBZCnHR2jd1KRMNqhsLR6NnoIPgs+CRt448bL+mM8eJsX9cMSXKDVOMtm2tH/z/EGWAtcztA3hb698NJgcGYk2ARV40ZxlMn36g1V5GEKEDPcWm5rOPtQ1lkubdkMxqgN5pwx92sxDaqCZ6Grki+CWKVWfir2C3KcEImy50fPr8FV4c6tO6VRa9tC2ura9aftQwRECbAEYtsQ7kDV+kT9euXPo08vmSRftRICTFoRzFDfkd1fy6tDcZRPxmq3J1NnNZklYbHfXqLFVPyeSHWbG3y1QZlCg2pqGMpCXBCr0irdUcpKyXUJd9yzCkdl5sqKncYDEVOtPc0o+uZ4PbmvCggmGtuSlljlYgbE9mV2iEw+IsCtiP/T3Q4Bb3vDyMrheuY7E9BhTP835XIYwlAwXZP+eb5L0UI2ZHYWXe6GIEI3GDi9QA7yQ/qq/yaeTbZlDgqw0S4lQxZKK3Ct5xiVznZmOiRpeEeraeCLM/799GGEIsJJZ3ZdADMFRGTygByYpCXiJZNOnvf127Xr3N9h1UAVkZcAUb0+qclJml+3NEWETd1o4HoiYfU9wkpVtDPsGBitKKjj15Zmw2O1RfsOTZtFfq8KlCQg4g48=
services: postgresql
addons:
postgresql: 9.4
sonarqube: true
install: mvn install checksum:files -DskipTests=true -Dmaven.javadoc.skip=true -B -V
before_script:
- dropdb --if-exists sc_lint_test
- psql -c 'create database sc_lint_test;' -U postgres
script:
# the following command line builds the project, runs the tests with coverage and then execute the SonarQube analysis
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.login=$SONAR_TOKEN coveralls:report
notifications:
slack:
secure: ar8mq3cXiZx7QehmtvDDAzGanJcL7KWrvbGzo8RGqFToVyVCqfaKaelmqv/TCLCOr8DssP3yKm0yoPX0kiypqqbXaCp3v6a/4k8LtS3az41dKkVjQnRQFc3zDb3FkVKFIfEK8Y/hOUrwcZvSydh9rIsJ/m3CgAQz5mBCny3Vh7r5sjCazUO8pjOTIEWd2AOSgoJvlwKaUHYYtonqmHhycxjtus1zHkDsvrvs8iPHVVKv9FUHmCy0aiXcOnUihftRGElUCA9yujwdHC//yMjetdYihmmErmPkgQFLIW0y/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KbhVBxo=
file:
- target/schemacrawler-additional-lints-${TRAVIS_TAG}.jar
- target/schemacrawler-additional-lints-${TRAVIS_TAG}.jar.md5
- target/schemacrawler-additional-lints-${TRAVIS_TAG}.jar.sha1
skip_cleanup: true
on:
tags: true
repo: mbarre/schemacrawler-additional-lints
branches:
except:
- travis