-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
42 lines (41 loc) · 3.41 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
42
dist: xenial
language: java
os: linux
jdk:
- openjdk17
git:
depth: 3
cache:
directories:
- "$HOME/.m2"
services:
- postgresql
before_script:
- psql -c 'create database frameworkeventstore;' -U postgres
- psql -c 'create database frameworkviewstore;' -U postgres
- psql -c 'create database frameworkfilestore;' -U postgres
- psql -c 'create database frameworksystem;' -U postgres
- psql -c 'create database fileservice;' -U postgres
- psql -c "CREATE USER framework WITH PASSWORD 'framework';" -U postgres
- psql -c "CREATE USER fileservice WITH PASSWORD 'fileservice';" -U postgres
addons:
postgresql: '9.5'
sonarcloud:
organization: cjscommonplatform
token:
secure: KqWUD6nqDomQi78/Lr5Nv3LuvPvSEQOsh2mEJfQPP2C2OfEozo8bVPzbEVsL9NvB5sOxcjp7o/4iLZ3X6kg2/aTShCSg74vqHJ3FWPTvwFA5TXptFeHGGrleaEsAeaD9GSgVf3wPjXTtmS42Q6OnLx/nA4ZreDXANczUbwWKyYW0nB0c49Hb53j6gOBzp64VizzggaWh8taWpFPWZCwAXgahY3mnOTftVOfdCh5Pyt3+2fdNZPedX+J4JnHa5yIfFgUFz108hkWVlt4vKnWXhXAPEjvqotEAKnNx45YihjOQQR6z8P7B4ntXqeW5DD3gEo6eTooB36Gi17+FqBLL+eKMd/v6qj/smgCDbrfJgrFSJH80DGTnetX87efzeAiMp7FVbwNetfjlzt85dMJTwwXmqikDvv0f3R70K9R8/mYrSGEVJbwx4paJK0P5buE3ABMGWa7hRWT2mZQs9tBmWrjdR/h0JmMA6Kop04jwxGgX5EAYtfWTLzhsGbtN1Q4FQ8mZkqnTIuVvsOfD7045Zxir9uhKjF0lJ8bIEGjMurbO9lp3ov+0KUHq2zrHU5Y+l9YKwC4jwR7ooUHuwdj5L9K8avhfRixT7Whxm0OngeCcmN+XxrGJy5qEqfHE1I6E7ewP9mwmppedEbJN13bH3b3L5VqW047rBDvrKeYdUHE=
before_install:
- git clone https://github.com/CJSCommonPlatform/travis-settings.git target/travis-settings
- ln -sfT ${PWD}/target/travis-settings/settings.xml ${HOME}/.m2/settings.xml
- ln -sfT ${PWD}/target/travis-settings/mvnw mvnw
- ln -sft ${PWD} ${PWD}/target/travis-settings/.mvn
install: "${PWD}/target/travis-settings/java/install.sh -e -DexcludeGroupIds=uk.gov.justice.service,uk.gov.justice.services"
script: "${PWD}/target/travis-settings/java/script-install.sh coveralls:report sonar:sonar"
after_success: "${PWD}/target/travis-settings/java/after_success.sh"
notifications:
env:
global:
- JAVA_TOOL_OPTIONS=-Dhttps.protocols=TLSv1.2,TLSv1,TLSv1.1
- PGPORT=5432
- secure: j9aIMo7+WEaWf+7laaEjsHULJE6U98f16zHleAYGBtZhl8FXJdUgc984G/dUqYGwIsfQnYBlNFKZ2FZ3koQB54VJEXKxhLn3Yt6eM3sbH/7D3CHIiqzQy5P2gH2TzzroH1rN4lUuDRYQXq2Es+5X1pU03cZKrD2j7sJL93GT+c6pH1A66Qyv5wKHj5tJ6nOgUV5TrDKvZCWXeMDFUNoGnXDv7ztkIogcOhFkJJWjBU/CkZCNrhRfV4LKzo2Vu8H9xpqDcfusBJ2TY1vF2mKq3fkfts0LQ5A7FLXukTl3uE2+Qbaq9++/E9e9cTkrNlalmBGJavlSVpsGXsPHS7Ny9kwmp1rUmrp++ZdJdnv1JWQ6aD8BryTWRmoTPjY8a2QH6jHm2a8etkKp6MbDAeLdbvEKqMLIU2NfKO6zHZxWL3iCz2/YwMIF8gG+Yaj0EMe4BazFLkowdHiwbXMpcwtRLzEIaD4DF1RXOLkr8tMcHRAo9uRNcaG0qup/4MtkeKX2xnukud4WK5pDpTLYYqcgP7TpnEAoB/zrM6Y9JxUMUP7sqjfHi4SJFqXnKcSPMtfN5GuEL9b1559ApINRiyvDnyQOREvAJ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