forked from balabit/syslog-ng-rust-modules
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
56 lines (48 loc) · 1.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
language: python
sudo: false
python: "3.4"
env:
global:
- PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/install/syslog-ng/lib/pkgconfig
- CMAKE_C_FLAGS=-std=gnu99
- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/install/syslog-ng/lib"
- PATH="$HOME/.local/bin:$PATH"
matrix:
- RUST_CHANNEL=nightly TEST_MODE=everything TRAVIS_CARGO_NIGHTLY_FEATURE=nightly
- RUST_CHANNEL=stable TEST_MODE=everything
- RUST_CHANNEL=beta TEST_MODE=everything
matrix:
include:
- env: RUST_CHANNEL=stable TEST_MODE=cmake
allow_failures:
- env: RUST_CHANNEL=nightly TEST_MODE=everything TRAVIS_CARGO_NIGHTLY_FEATURE=nightly
- env: RUST_CHANNEL=beta TEST_MODE=everything
git:
submodules: false
dist: trusty
cache:
- pip
addons:
apt:
sources:
- kubuntu-backports
packages:
- bison
- flex
- libcap-dev
- libevtlog-dev
- libglib2.0-dev
- libjson0-dev
- libwrap0-dev
- pkg-config
- cmake
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
install:
- pip install 'travis-cargo<0.2'
- . .travis/rust-cpython-upgrade-hack.sh
- .travis/install-ivykis.sh
- .travis/install-syslog-ng.sh
script:
- .travis/test-${TEST_MODE}.sh