forked from puppetlabs/puppetdb-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (42 loc) · 1.11 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
language: cpp
compiler:
- gcc
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
packages:
- gcc-4.8
- g++-4.8
- libboost-filesystem1.55-dev
- libboost-program-options1.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
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 --no-check-certificate https://cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.tar.gz
- tar xzvf cmake-3.2.3-Linux-x86_64.tar.gz --strip 1 -C $USERDIR
script:
- ./.travis_target.sh
env:
global:
- USERDIR=/tmp/userdir
- PYTHONUSERBASE=$USERDIR
- PATH=$USERDIR/bin:$PATH
- LD_LIBRARY_PATH=$USERDIR/lib:$LD_LIBRARY_PATH
matrix:
- TRAVIS_TARGET=DOXYGEN
- TRAVIS_TARGET=CPPLINT
- TRAVIS_TARGET=CPPCHECK
- TRAVIS_TARGET=RELEASE
- TRAVIS_TARGET=DEBUG
notifications:
email: false