-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
36 lines (36 loc) · 3.73 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
dist: trusty
sudo: false
language: java
jdk:
- oraclejdk8
git:
cache: 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 USER framework WITH PASSWORD 'framework';" -U postgres
addons:
postgresql: "9.5"
sonarcloud:
organization: cjscommonplatform
token:
secure: cI35fUU7Gg4GbwgBC+4E2pGwNTemb7cyqmpHybRlgMa+ZGIKby9XNa0jFrih1agv8Lnm2YvugwzH570W35G5+tx8uDU0dpwUt5gyzHgkouSuKE7ztB8kF7OEdScfMJmrpabuD9P7Itz7BpvAiJBLdtk0a0vsV8Fzd0l1Sr3O3ur5m16PSb1ZSq3QJYhbPUfnhtfdPFxO++7xyZP2dBUcTDTtLVHIGe2p/tR/Nj63VO+DWdj7GNeHyyNuou5x7hdeA7tuBYY+BzK8GYzFsxJxK2lCslJjAEl8gQUTlB971sHAQUg18EWO7KypmoUE8dgCPgSN2M6h2IuUG6esFsyOJrzvn0BhuTFKylYsQvDm5aPtQZHL/DJ731wlkkf/mP0aDY8Ujl0DIBPBbCUBZiR0hhJfW05Os3OgbWy+IZ38J5NxObDj1pIbcliXbZegXQzgkC92u2yxzg0o5KMtEGHwg6JOqSnJD6N44U4aTEiCq2iBMSDfMhNUOxBbw3on/bXqcrUyaEjAGglh7P0r1lWnMzl3CgC6HYlFWI30dCnlLQJEMoZACNmE+yS4qOGnmHPtkq7bWjDhYAoEO7Oy+a3ZGs57q3eAEoI2PPp4ApOSAEoSPE5kOn+tXYxO9htkl9XCyaQK0n2FrJ2AKlqGfDOAW1lmLLdzj1DhhxqqHwc9o6E=
github_token:
secure: bft56m1xd8tjv6U7+io+hUFB//wsBWdVH3CNZUjLPgm5e/Uos+YufqUnPa+ZBcFf5IzyDjNKHUxHUouFLIAGw+LR2Avm//1cbhzQ2aGxkLjgqMR7VxtxCFefoOZnwXy5+5hjPTm9FBA6qLp9K1hePkB1EuSQSgiAzTe87eChWu5UeLywXWAoLWUS5rPQPaTzZ+lVbBw4tauQLCatOagYN0fcIutbZW73FV/PWgjZ0rx3N0oQvQKgjCVDj+n1H6jIpkQzoXpPEtKQsgJOZNJ2EDgUgox5voEzl90IVocdAxuGZ5spSjFSF6vWw6yC+KRyMA5woXCMQpdLVaEZA7D8rBlBsH4ya9U+mUCy/1BbCe0s8dnIWQExj1KxUSmwQ21fE/D/WXYv+4qp+3GxqtXRbwP6lQjyoLVv42N0YoUbYXaZDqLPy3pAWbbvlFkSpnTf48puJrzo16AivrSaWmvi4OhnjtTmxAFc7xK277ZO+WbTx6dO20DV2O9HinVqg7upsC2pZ5XFNSOQSrRwwQLnKr77SDvXscHNOZcW1CY9OlS737Ile6OVfF19co7aCpO/AG3kBkb/iV6+uoVe1Z3Ep1Ke2oC/Orsx3N4PXbpypr+lJeTL9AlqKeEawNnPqhlYDF76vZ1jTBAbsiPQilV1l3bWQ6XA6clERgEgCDFRX7s=
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
install: "${PWD}/target/travis-settings/java/install.sh -e -q -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"
env:
global:
- secure: BRSJ5hIFNiXtOwq8qQfxFCoi+DghyCF4YoKK+xZz3BIHF+VN9LK5i99Be9e/eYsmo3b055UgaFJyrjMfjilj9Phu53VKeRd0BR9s8C06z8xxxjR5F5bxi2GzOYQDFauijYDhef4nt+rEGkA3sZ5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