-
-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
1,311 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,45 @@ | ||
sudo: required | ||
dist: trusty | ||
dist: trusty # Use 'trusty' unless specified otherwise | ||
os: linux # Use Linux unless specified otherwise | ||
sudo: false | ||
|
||
language: cpp | ||
|
||
env: | ||
- C_COMPILER=gcc-7 CXX_COMPILER=g++-7 | ||
- C_COMPILER=clang-5.0 CXX_COMPILER=clang++-5.0 | ||
matrix: | ||
include: | ||
- env: C_COMPILER=gcc-7 CXX_COMPILER=g++-7 GENERATOR_NAME="Unix Makefiles" | ||
addons: { apt: { packages: ["g++-7"], sources: ["ubuntu-toolchain-r-test"] } } | ||
|
||
before_install: | ||
- pyenv global system 3.6 # Workaround for travis-ci/issues/8363 | ||
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y | ||
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - | ||
- echo "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-5.0 main" | sudo tee -a /etc/apt/sources.list | ||
- sudo apt-get update -q | ||
- sudo apt-get install gcc-7 g++-7 -y | ||
- sudo apt-get install clang-5.0 -y | ||
- sudo apt-get install libboost-all-dev libopencv-dev -y | ||
- wget https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.tar.gz | ||
- tar -xvzf cmake-3.8.2-Linux-x86_64.tar.gz | ||
- env: C_COMPILER=clang-5.0 CXX_COMPILER=clang++-5.0 GENERATOR_NAME="Unix Makefiles" | ||
addons: { apt: { packages: ["g++-7", "clang-5.0"], sources: ["llvm-toolchain-trusty-5.0", "ubuntu-toolchain-r-test"] } } | ||
# g++-7 is needed here - otherwise the build will fail because g++-4.8 libstdc++ is used. | ||
|
||
- os: osx | ||
env: C_COMPILER=clang CXX_COMPILER=clang++ GENERATOR_NAME="Xcode" | ||
osx_image: xcode9.2 | ||
|
||
install: | ||
- | | ||
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then | ||
wget https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.tar.gz | ||
CMAKE_DIR=${TRAVIS_BUILD_DIR}/cmake && mkdir ${CMAKE_DIR} | ||
tar -xvzf cmake-3.8.2-Linux-x86_64.tar.gz --strip-components=1 -C ${CMAKE_DIR} # extract from inside the top-level directory to CMAKE_DIR | ||
export PATH=${CMAKE_DIR}/bin:${PATH} | ||
pyenv global system 3.6 # Workaround for travis-ci/issues/8363 | ||
sudo apt-get update -q | ||
sudo apt-get install libboost-all-dev libopencv-dev -y | ||
else | ||
brew install cmake || brew upgrade cmake | ||
brew install boost | ||
/usr/bin/yes | pip2 uninstall numpy # see: travis-ci/issues/6688 | ||
brew install opencv | ||
fi | ||
- cmake --version | ||
|
||
before_script: | ||
- mkdir build | ||
- cd build | ||
- ../cmake-3.8.2-Linux-x86_64/bin/cmake -DCMAKE_C_COMPILER=${C_COMPILER} -DCMAKE_CXX_COMPILER=${CXX_COMPILER} -DEOS_BUILD_EXAMPLES=on -DEOS_BUILD_UTILS=on -DEOS_GENERATE_PYTHON_BINDINGS=on -DPYTHON_EXECUTABLE=`which python3.6` .. | ||
- cmake -G "${GENERATOR_NAME}" -DCMAKE_C_COMPILER=${C_COMPILER} -DCMAKE_CXX_COMPILER=${CXX_COMPILER} -DCMAKE_INSTALL_PREFIX=../install -DEOS_BUILD_EXAMPLES=on -DEOS_BUILD_UTILS=on -DEOS_GENERATE_PYTHON_BINDINGS=on -DPYTHON_EXECUTABLE=`which python3.6` .. | ||
|
||
script: | ||
- make VERBOSE=1 | ||
- cmake --build . --config Release | ||
- cmake --build . --target install --config Release |
Submodule cereal
updated
39 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.