forked from hillu/go-yara
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (32 loc) · 748 Bytes
/
.travis.yml
File metadata and controls
32 lines (32 loc) · 748 Bytes
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
language: go
go:
- 1.9.x
- 1.10.x
- 1.11.x
- 1.12.x
- 1.13.x
- 1.14.x
- tip
dist: bionic
addons:
apt:
packages:
- bison
- flex
- automake
- autoconf
- libtool
- make
- gcc
- pkg-config
before_install:
- YARA_VERSION=4.1.0
- wget --no-verbose -O- https://github.com/VirusTotal/yara/archive/v${YARA_VERSION}.tar.gz | tar -C ${HOME} -xzf -
- ( cd ${HOME}/yara-${YARA_VERSION} && ./bootstrap.sh )
- ( mkdir -p ${HOME}/yara-build &&
cd ${HOME}/yara-build &&
${HOME}/yara-${YARA_VERSION}/configure --prefix=${HOME}/prefix )
- make -C ${HOME}/yara-build install
- find ${HOME}/prefix
- export PKG_CONFIG_PATH=${HOME}/prefix/lib/pkgconfig
- export LD_LIBRARY_PATH=${HOME}/prefix/lib