-
Notifications
You must be signed in to change notification settings - Fork 166
/
.travis.yml
37 lines (37 loc) · 4.79 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
language: java
jdk:
- openjdk8
cache:
directories:
- "$HOME/.m2"
env:
global:
- secure: JUtc/HnhIfTASLdPMDxov7WocqIhDsMEH6Srahk+7d3G1tYu2aS6LI4K3hPjrEJVGEMIqUJvHORmkDmlY1uok8+w5GAzpcltfmasrhJ7rdEt2n694xFb+WEPRgHmsgIPv0QQSFavdy1y6nrS1x3lhCty/QSI0QVDPI4EonjeoMM1Ls7CP6wz2EfOld3APyUsv7u7DvhlpUdmhbn/+SWxOOV/5iJx745Ef4hlQXsvY7vISZ+8HP6FA77OUwA6axgHvrdMgtvfX1YgNvFXixxVBL0XX+myD0rjNAm2mGIJwQLQ7c/YMzPS0Joa/6MxX2zRdD/JFXvBtn6Sek/6/hZozzXVM90mYUmD25IdTLoBE4yrLumPqm5+xEX6C7d0aT2/Wgd+xNmWA9qnNnZKeIuwKGSzbj/0Ek6D43iAOfs+mb32iYc3NKWoTaJfFnqng6yueZTRkZK/+/4MEDzfQZyBf5rPUv910MmO5T0KCxwni3kBr9G9ImPrdfy55tLPZFY5bOoQNzZuBNMQWakb0a91iyZ5Ja09085ZYqfm9zie/EYIe0NUgccUmqqUKzmrBnS68NJ2+74kXPPIdEg26OQwh7ch83sycHvwx1mXycamy6AKDWitmSupTwELHTNBYN2rN/GTmFy41dsY0V8o9xh3zRoeSkXA/t+2pttNYT4vZI4=
- secure: LOMHbsrLGKMz8zLq+WyCDX9XmA0y2XxvjCaP8uJ5SXLpqnUUfVpEOWbifdaLlBl6+84eIQSpodt1uYooPr3dIjg52n6cobFGc8HmnuDftkY6WQnV8GT53GZp+09FAdY24Fj+x9cEdEuMR26NbodLUqicAmGtFe/ieGEBE4XoV65C7oArJCc4pbP19AXbKT9VP9Cpeo69fNIz0W5Q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EdQt2PxsXvyDITTzn3zs8OyDK9GOaajaN1em9CfnoPr8QH3/k0UYpK4QLY9TMOOpUctNBH5WHN8gC69+3biAz0OccRZe3UFmPWwceHtrzXZOG+w+q7oj0v/afgr+SAfDmJ+IbZPf9MaD5p3edYiInqMZWSG4ypFikQJX1xuaR5TZEfHSz+RnOtO4nGjMCyVzDpwE+hIy1QvQBKFBaRr/AfxB02RzxVPtl0XMVPG8REamv3LS1VY5ZMFDgq3aB554f1XXc9GdryHILDIrL4AcUNwVhaI5OxxPyYnu2ngdoveHs2nibAj9fzUGfKZDYir0znVt9OpBeha366+88Fg4XDxULtaGRI1Ew60WnbmjKGfjtssBIkFQ73wEzPvk9RdLUSUj/RAsEgGdqt93eL08=
services:
- redis-server
before_install:
- curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.3.2.deb
&& sudo dpkg -i --force-confnew elasticsearch-6.3.2.deb && sudo service elasticsearch
restart
- mvn install:install-file -Dfile=${TRAVIS_BUILD_DIR}/orchestrator/module/interpreter-api/lib/jtcl-2.7.0.jar
-DgroupId=tcl.lang -DartifactId=jtcl -Dversion=2.7.0 -Dpackaging=jar
- mkdir -p ~/logs/search/
- find ${TRAVIS_BUILD_DIR}/ -type f -name "log4j2.xml" -print0 | xargs -0 sed -i -e
's/\/data\/logs/~\/logs/g'
- find ${TRAVIS_BUILD_DIR}/ -type f -name "logback.xml" -print0 | xargs -0 sed -i
-e 's/\/data\/logs/logs/g'
- find ${TRAVIS_BUILD_DIR}/ -type f -name "application.conf" -print0 | xargs -0 sed
-i -e 's/\/data\//~\//g'
- find ${TRAVIS_BUILD_DIR}/ -type f -name "*.java" -print0 | xargs -0 sed -i -e 's/\/data\//~\//g'
- sudo apt-get install jq
- wget -O ~/codacy-coverage-reporter-assembly-latest.jar $(curl https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | jq -r '.assets[0].browser_download_url')
- sleep 10
script:
- mvn clean install
after_success:
- find . -name jacoco.xml | awk '{print "java -jar ~/codacy-coverage-reporter-assembly-latest.jar report -l Java -r " $0 " --partial"}' | bash
- java -jar ~/codacy-coverage-reporter-assembly-latest.jar final