-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
97 lines (89 loc) · 2.18 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
language: cpp
os: linux
dist: trusty
matrix:
include:
# macOS clang
- os: osx
env:
- CXX_OVERRIDE=clang++
- CC_OVERRIDE=clang
compiler: clang
- env:
- CXX_OVERRIDE=g++-7
- CC_OVERRIDE=gcc-7
addons:
apt:
packages:
- texlive-latex-extra
- texlive-latex-base
- texlive-fonts-recommended
- texlive-fonts-extra
- texlive-latex-recommended
- texlive-font-utils
- dvipng
- cm-super
- bison
- ca-certificates-java
- java-common
- libbison-dev
- libcairo-script-interpreter2
- libcairo2-dev
- libjbig-dev
- libmime-charset-perl
- libpango1.0-dev
- libpcsclite1
- libpixman-1-dev
- libsombok3
- libtext-unidecode-perl
- libtiff5-dev
- libtiffxx5
- libunicode-linebreak-perl
- libxcb-render0-dev
- libxcb-shm0-dev
- libxml-libxml-perl
- libxml-namespacesupport-perl
- libxml-sax-base-perl
- libxml-sax-perl
- mpack
- openjdk-11-jre
- openjdk-11-jre-headless
- texinfo
- g++-7
- xdg-utils
- gfortran-7
- subversion
- make
- r-base-dev
- liblzma-dev
- sed
- binutils
- curl
- cmake
- rsync
- xorg-dev
- valgrind
- cppcheck
- xvfb
- xauth
- xfonts-base
- tk-dev
sources:
- ubuntu-toolchain-r-test
before_script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gcc ccache; brew link --overwrite gcc; export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi
- export CXX=$CXX_OVERRIDE
- export CC=$CC_OVERRIDE
- ${CXX} --version
- ${CC} --version
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH=$HOME/Library/Python/2.7/bin:$PATH; else export PATH=$HOME/.local/bin:$PATH; fi
- Setup/setup.sh --installRebench
script:
- ./Setup/run.sh rebench.conf Implementations/R/RIR Implementations/R/RIR/external/vanilla-r Benchmarks e:PIR-FORCED e:RIR -it 1 -wu 0 -Sv
cache:
ccache: true
apt: true
directories:
- external
# cache homebrew formulas
- /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core