Skip to content

Commit

Permalink
[travis] Synchronize and update
Browse files Browse the repository at this point in the history
  • Loading branch information
bchretien committed Aug 28, 2016
1 parent 860867e commit 3bf35cc
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .travis
66 changes: 53 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
language: cpp
compiler:
- gcc
- clang
env:
global:
- APT_DEPENDENCIES="doxygen libltdl-dev libboost-all-dev liblog4cxx10-dev libcminpack-dev"
- APT_DEPENDENCIES="cmake cmake-data doxygen libltdl-dev libboost-all-dev liblog4cxx10-dev libcminpack-dev"
- HOMEBREW_DEPENDENCIES="doxygen log4cxx cminpack"
- GIT_DEPENDENCIES="roboptim/roboptim-core"
- DEBSIGN_KEYID=5AE5CD75
- PPA_URI="roboptim/ppa"
Expand All @@ -19,18 +17,60 @@ notifications:
rooms:
secure: LJbgx2sjAmTUu+AV8N/PSQHFQ8E1OnHAB2oYFv1XwN2hujtswNwE9k16etaEBRZ0IP1z7mTWrabaztDPC5efEaGpi4TZLMr5P9n/ABWRvJi+tVMXG7fusxTNzOaqcr31g2VQBXJ2nMZWxawP4xzTp+sSVcVsHm5xt4UjLyVQ6+A=
email: [email protected]
before_install:
- ./.travis/dependencies/eigen-3.2
- ./.travis/run before_install
script:
- export LD_LIBRARY_PATH="/tmp/_travis/install/lib/roboptim-core/":$LD_LIBRARY_PATH
- ./.travis/run build
after_success: ./.travis/run after_success
after_failure: ./.travis/run after_failure
branches:
only:
- master
- dev
- travis
- debian
script:
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then export LD_LIBRARY_PATH=`pkg-config --variable=plugindir roboptim-core`:$LD_LIBRARY_PATH; fi
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then export DYLD_LIBRARY_PATH=`pkg-config --variable=plugindir roboptim-core`:$DYLD_LIBRARY_PATH; fi
- if [ "${ENABLE_CXX11}" == "1" ]; then export CMAKE_ADDITIONAL_OPTIONS="-DUSE_CXX11:BOOL=ON -DROBOPTIM_PRECOMPILE_DENSE_SPARSE:BOOL=ON ${CMAKE_ADDITIONAL_OPTIONS}"; fi
- if [ "${COVERITY_SCAN_BRANCH}" != "1" ]; then ./.travis/run build; fi
after_success:
- ./.travis/run after_success
- codecov --gcov-root=/tmp/_ci/build
after_failure: ./.travis/run after_failure
before_install:
- pip install --user codecov
- ./.travis/dependencies/eigen-3.2
- ./.travis/run before_install

matrix:
allow_failures:
- compiler: clang
- os: linux
compiler: clang
- os: osx
compiler: gcc
- env: COVERITY_SCAN_BRANCH=1
include:
- os: linux
dist: trusty
compiler: gcc
- os: linux
dist: trusty
compiler: clang
env: ENABLE_CXX11=1
- os: linux
dist: precise
compiler: gcc
env: MASTER_PPA="george-edison55/precise-backports"
- os: linux
dist: precise
compiler: clang
env: MASTER_PPA="george-edison55/precise-backports"
- os: osx
compiler: clang
- os: osx
compiler: gcc

addons:
coverity_scan:
project:
name: "roboptim/roboptim-core-plugin-cminpack"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: ". .travis/common.sh && mkdir coverity && cd coverity && cmake .."
build_command: "make"
branch_pattern: coverity_scan

0 comments on commit 3bf35cc

Please sign in to comment.