forked from puppetlabs/pxp-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (49 loc) · 1.38 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
language: cpp
compiler:
- gcc
sudo: false
ruby: '2.1.9'
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
packages:
- gcc-4.8
- g++-4.8
- libboost-filesystem1.55-dev
- libboost-regex1.55-dev
- libboost-date-time1.55-dev
- libboost-thread1.55-dev
- libboost-log1.55-dev
- libboost-locale1.55-dev
- libboost-chrono1.55-dev
- libboost-random1.55-dev
before_install:
# Use a predefined install location; cppcheck requires the cfg location is defined at compile-time.
- mkdir -p $USERDIR
# grab a pre-built cmake 3.2.3
- wget https://s3.amazonaws.com/kylo-pl-bucket/cmake-3.2.3-Linux-x86_64.tar.gz
- tar xzvf cmake-3.2.3-Linux-x86_64.tar.gz --strip 1 -C $USERDIR
# Install pxp-agent's dependencies
- wget https://github.com/puppetlabs/leatherman/releases/download/${LEATHERMAN_VERSION}/leatherman.tar.gz
- tar xzvf leatherman.tar.gz -C $USERDIR
- rvm install 2.1.9
script:
- ./.travis_target.sh
env:
global:
- USERDIR=/tmp/userdir
- PYTHONUSERBASE=$USERDIR
- PATH=$USERDIR/bin:$PATH
- LD_LIBRARY_PATH=$USERDIR/lib:$LD_LIBRARY_PATH
- LEATHERMAN_VERSION=0.8.1
- CPP_PCP_CLIENT_VERSION=master
matrix:
- TRAVIS_TARGET=CPPLINT
- TRAVIS_TARGET=CPPCHECK
- TRAVIS_TARGET=RELEASE
- TRAVIS_TARGET=DEBUG
- TRAVIS_TARGET=MODULES
notifications:
email: false