This repository has been archived by the owner on Dec 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 1.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
language: java
dist: trusty
java:
- openjdk8
cache:
directories:
- $HOME/.m2/repository
- $HOME/.yarn-cache
before_install:
- if [ -n "$encrypted_64235d4acdda_key" ]; then openssl aes-256-cbc -K $encrypted_64235d4acdda_key -iv $encrypted_64235d4acdda_iv -in .travis/codesigning.asc.enc -out .travis/codesigning.asc -d; fi
- if [ -f ".travis/codesigning.asc" ]; then gpg --fast-import .travis/codesigning.asc; fi
- nvm install
install:
- yarn install
before_script:
- yarn global add @conveyal/maven-semantic-release semantic-release
script:
- ./mvnw org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar -s maven-settings.xml -B
after_success:
- travis_wait 20 semantic-release
# run site goal after semantic-release, to prove that generated site uses latest version number
- ./mvnw site -s maven-settings.xml -B
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
local-dir: target/site
on:
branch: master
addons:
sonarcloud:
organization: "worksapplications"
token:
secure: "UJ804ps9zTSscigHmYaYjX5yydO2q1mC0gUvfW3kVExEHZbr/RUjzvweaYH8WZ3tfVKlp6itipCFccKo6YRoubu3OemVhThfTc+Tp41YvlMs5byu3GoZeKt5LNEUVscsYtLiRTQSzHAoc3+K7QGLTsZ77SzAN0C1GC57QmShIWl7aKkoZq+GZAHFr0vTBEp/XQxCL371ne9JqMEGexYl2w0DuuGmuFueqQU6D+MnJmietUXDpL98rzQUfoRExjhQDv1FPa9EzkPMDZoNvm7qH3cpMR4ZnVyMp9qtwk6YMDtPcE8fyUE9tHRbCff2aHf9lVsX8JUTrY2gdp0oGYWBozERSXtTMotvgBUgKBJW2JVTbBB3O8uWI2a9ZzJGJ+uZmwMT2jIFkkV5DnVRy03StsXsO2lxLa1B3gnk+bWCttccdDsTQvUMVSQvWqY2y4vlYu51izngAjVRkjTSda2LLg3NW6PgoZpaNffuB8w6KMqGQ0bjcA3b3FzLk5wyxqCMlPpOnbOAdHp/DquD91/bArMLpdBcN3e1twpJQGZGi74Nt3e2mlB/HVRgx9+TD1Da/ljoGopRs+T2jIIIQJiST2tGzckL6RKHtDhT3mHuYUyk+rTSe/A7NiSq90i/W39Oi+bYySFCJpEpKJmtrggP92SHf+PuQ2S9AYMvpBiFZPw="