forked from audioscience/avdecc-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (24 loc) · 883 Bytes
/
.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
dist: trusty
sudo: required
language: cpp
compiler:
- gcc
# git submodules workaround
git:
submodules: false
# use sed to replace SSH URL with the public URL, then init submodules
before_install:
- sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install -y libpcap-dev linux-headers-4.4.0-75-generic cmake
- sudo apt-get install -y doxygen graphviz
- if [ "$CXX" = "clang++" ]; then sudo apt-get install -qq libstdc++-4.8-dev; fi
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
env: BUILD_KERNEL=4.4.0-75-generic
install:
script:
- ./travis.sh
- if [ "$TRAVIS_BRANCH" = "staging" ]; then ./publish_doxygen.sh; fi