-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
51 lines (49 loc) · 1.95 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
language: java
sudo: false
dist: xenial
cache:
directories:
- "$HOME/.m2"
addons:
apt:
sources:
- deadsnakes
- sourceline: 'deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main'
key_url: 'https://packages.microsoft.com/keys/microsoft.asc'
packages:
- valgrind
- check
- python3.4
- dotnet-sdk-5.0
env:
global:
- secure: yiW+hXiZEycKFzF19rLlejJX8BTGbncSisBHyE8uulZee5n7UVGXnG1yvt9+6hz0nvMbxL7r1Daql0xxRHXUFB9VYVUKhF0ycHyJO5ze87U51mlIKAL8UnCkmxpkHNdxY45olEdK+mEbZBtot67nenlwGDfxLI7laITkR8IBAvY=
- secure: WVOHmRlzHZhuYqpTVFR2ZjdVDugr/EGEZGhnkWFFh6DE2zfa+na8WSLQdynHjTH1sL2DMg+p4l8siLoKk6Kn9wh+Wah2GP54oKQNIvt+Zl0olTR8TZq/uEo1iU4dqsDbMscId2xK7imdQ9wMKXV0t/bqhjiFR/wxheR96WxvIVs=
- M3_HOME=/usr/local/maven
before_install:
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
- echo "deb https://cloud.r-project.org/bin/linux/ubuntu xenial/" | sudo tee -a /etc/apt/sources.list
- sudo add-apt-repository --yes ppa:beineri/opt-qt591-xenial
- sudo apt-get update -qq
- sudo apt-get install r-base -y -qq
- sudo apt-get install qt59base -qq
- sudo chmod 277 /usr/local/lib/R/site-library
- Rscript -e 'install.packages(c("devtools","testthat"),repos="http://cran.us.r-project.org")'
- Rscript -e 'devtools::install_github("RTMC/tmc-r-tester/tmcRtestrunner")'
- sudo apt-get install apt-transport-https -y -qq
- export PATH=$PATH:$PWD/bin
- source /opt/qt59/bin/qt59-env.sh
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/lib
- mkdir -p $HOME/bin && ln -s $(which python3.4) $HOME/bin/python3 && export PATH="$HOME/bin:$PATH"
- mvn clean install -Dmaven.test.skip=true -q
script:
- mvn clean test org.jacoco:jacoco-maven-plugin:report -q
- mvn checkstyle:check -q
- . ./clitest.sh
after_success:
- mvn org.eluder.coveralls:coveralls-maven-plugin:report -q
- ./deploy.sh
os:
- linux
jdk:
- openjdk8