-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (51 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
language: java
dist: xenial
sudo: required
python:
- "3.7"
jdk:
- openjdk11
services:
- docker
- xvfb
addons:
sonarcloud:
organization: "systemincloud"
token:
secure: $SONAR_TOKEN
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq xcftools
- sudo apt-get install -qq metacity
- sudo apt-get install at-spi2-core
- sudo apt-get -y install python3-pip python-dev
- sudo pip3 install -U setuptools
- sudo pip3 install -U virtualenvwrapper
- sudo apt-get install texlive-latex-base
- sudo apt-get install texlive-fonts-recommended
- sudo apt-get install texlive-fonts-extra
- sudo apt-get install texlive-latex-extra
- sudo apt install r-base
- wget "https://cran.r-project.org/src/contrib/R6_2.4.0.tar.gz"
- sudo R CMD INSTALL R6_2.4.0.tar.gz
install: skip
before_script:
- metacity --sm-disable --replace 2> metacity.err &
script:
- ./mvnw install -pl libs/org.ruminaq.tools
- ./mvnw install -pl libs/org.ruminaq.tasks.javatask.client
- ./mvnw install --toolchains=.travis-toolchains.xml -P init -pl releng/org.ruminaq.p2repo
- ./mvnw p2:site --toolchains=.travis-toolchains.xml -P init -pl releng/org.ruminaq.p2repo
- ./mvnw jetty:run --toolchains=.travis-toolchains.xml -P init -pl releng/org.ruminaq.p2repo &
- sleep 60
- sudo ./mvnw install --toolchains=.travis-toolchains.xml spotbugs:spotbugs pmd:pmd checkstyle:checkstyle sonar:sonar
cache:
directories:
- $HOME/.m2
notifications:
webhooks:
urls:
- "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MGx1cGlrJTNBbWF0cml4Lm9yZy8lMjFUdVdtYmFKdExuSGJRRXRhcWMlM0FtYXRyaXgub3Jn"
on_success: change # always|never|change
on_failure: always
on_start: never