-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
64 lines (64 loc) · 2.7 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
57
58
59
60
61
62
63
64
sudo: required
language: cpp
compiler:
- gcc
- clang
env:
global:
- secure: "Qu8mVoUePFsfwAIkE4D6wvN6TlkBjSw/Ct5NZX7xab8NgudhYGHy9dlOrky1NsO7lEa2Ulf/toXroMNNfiIyn3HmLuUN2VsMv9dZ7mA7TdBEUdKKtWqMvsRLFFeeb/8+aWDfzPvck/zeUIRodE7DSc46xR74SyRx24uz+MgfMKQ="
- secure: "Slm+HqRT+Vy0SG7E9gEShuHvNz6XWRUmBhVBLVJEaYy/0Lo2qp4OjFEWDjiJwFIiXstW2Wclds4SuewAn3Tc4x7dsY+5uaMCX7S/HPzsBCjLXUwjKasUqEGaVTIYmtFJm57hOkz6K2SLUUV4intkMiwtCiq/R0xe92QTTKkHyfo="
- secure: "F9mibfsT3Ezk0RRsgOHy8RUO82H05REGmJKLDKdHiHE3toxykQX64oNBB8txjHoi+UF0H1Gwmk4oB/pNeILtyHdSuB7hB1Muod9wspOuKrzO7SMTGdjpPw7nDjQEmtfrZFhXEGb/3xm66uSGojhwe0RJF5mOzyfno+G8SIJyos4="
- secure: "ZKC2yAvUcDb2nyrZQNqpLgEbi2pYFSKDn/+xIj9ZH+5nkn6iA5RT4AunK13qxuBkjIr2HJcUBtMFvk/mfpvpWynX+v9i3OhpVZCbkmcjQrATjiUcG6r95oEcex7NAM5uKd/41CqV/0fzTPc3uJgPozDJlt0wsBmCEarHiRNAoo0="
- APT_DEPENDENCIES="doxygen doxygen-latex libltdl-dev liblog4cxx10-dev libboost1.55-all-dev"
- GCC_NEEDED_VERSION="4.8"
- GCC_PPA="ubuntu-toolchain-r/test"
- CLANG_NEEDED_VERSION="3.5"
- CLANG_PPA="h-rayflood/llvm"
- HOMEBREW_DEPENDENCIES="doxygen libtool boost log4cxx"
- GIT_DEPENDENCIES="roboptim/roboptim-core stanislas-brossette/manifolds"
- MASTER_PPA="boost-latest/ppa"
- GH_USERNAME=thomas-moulard
- GH_REPO=roboptim/roboptim-core-manifold
- LCOV_IGNORE_RULES="*tests*"
- LCOV_UPDATE="yes"
- GCOV_TOOL="gcov-4.8"
notifications:
hipchat:
rooms:
- secure: YH0AqP/y2L3+YkHNezAOfBNMB5QkeEYE3z5NV5k7gxqaEPEklQeMrSHLZzN1TuSyms/RuiQ6Zj0QA9D2ZxioTxTqGUQbh5c+Ia5n5GTIJZYg24uVXPS1w6uFQSyVNIZE6tJGpgf0RHzeGtejRW7Q9Ppr6e55TBnBc53fGTqJyPs=
email: [email protected]
branches:
only:
- master
- dev
script:
- if [[ ${CC} == "gcc" ]]; then
export CC=${CC}-${GCC_NEEDED_VERSION};
export CXX=${CXX}-${GCC_NEEDED_VERSION};
fi
- ./.travis/run build
after_success: ./.travis/run after_success
after_failure: ./.travis/run after_failure
before_install:
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then
if [[ ${GCC_NEEDED_VERSION} != "" && ${GCC_PPA} != "" && ${CC} == "gcc" ]]; then
sudo add-apt-repository -y ppa:${GCC_PPA};
sudo apt-get update -qq;
sudo apt-get install -qq ${CC}-${GCC_NEEDED_VERSION} ${CXX}-${GCC_NEEDED_VERSION};
export CC=${CC}-${GCC_NEEDED_VERSION};
export CXX=${CXX}-${GCC_NEEDED_VERSION};
elif [[ ${CLANG_NEEDED_VERSION} != "" && ${CLANG_PPA} != "" ]]; then
sudo add-apt-repository -y ppa:${CLANG_PPA};
sudo apt-get update -qq;
sudo apt-get install -qq ${CC}-${CLANG_NEEDED_VERSION};
fi;
fi;
- ./.travis/dependencies/eigen-3.2
- ./.travis/run before_install
matrix:
allow_failures:
- compiler: clang
- os: osx
os:
- linux
- osx