forked from Cosys-Lab/Cosys-AirSim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into bug_fixes/rpclib
- Loading branch information
Showing
308 changed files
with
25,268 additions
and
9,907 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
Empty file.
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,73 +1,58 @@ | ||
language: cpp | ||
#git: | ||
# shorten this if we can nail down submodule depth | ||
# depth: 3 | ||
|
||
fast_finish: false | ||
jobs: | ||
include: | ||
- name: Ubuntu 18.04 | ||
os: linux | ||
dist: bionic | ||
|
||
matrix: | ||
allow_failures: | ||
- env: ALLOW_FAILURES=true | ||
- name: Ubuntu 16.04 | ||
os: linux | ||
dist: xenial | ||
|
||
include: | ||
# linux version have unique dependencies, so we set them up individually | ||
- os: linux | ||
dist: trusty | ||
sudo: required | ||
services: | ||
- docker | ||
#- os: windows | ||
# dotnet: 2.1.5 | ||
# services: | ||
# - docker | ||
|
||
- name: Windows 10 | ||
os: windows | ||
env: | ||
- MSBUILD_PATH="c:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\16.0\Bin" | ||
- PATH_FIX="C:\Windows\System32" | ||
|
||
# OS X CMake | ||
#- os: osx | ||
# sudo: required | ||
# osx_image: xcode8.2 | ||
# compiler: | ||
# - clang | ||
# env: | ||
# - TOOL="cmake" | ||
# - DESCRIPTION="OS X build/test via CMake" | ||
- name: MacOS | ||
os: osx | ||
osx_image: xcode11.4 | ||
|
||
# docker exec xenial apt-get -y install clang libclang-3.8-dev; | ||
install: | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then | ||
docker pull ubuntu:xenial; | ||
docker run -d --name xenial -dti ubuntu:xenial bash; | ||
docker ps -a; | ||
docker exec xenial mkdir /build; | ||
docker cp . xenial:/build; | ||
docker exec xenial apt-get update; | ||
docker exec xenial apt-get -y upgrade; | ||
docker exec xenial apt-get -y install git wget unzip sudo; | ||
docker exec xenial apt-get -y install build-essential software-properties-common cmake; | ||
docker exec xenial apt-get update; | ||
elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then | ||
echo "No install osx actions--using repo"; | ||
elif [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$TOOL" == "cmake" ]]; then | ||
echo "No install Windows actions--using repo"; | ||
fi | ||
|
||
before_install: | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then | ||
echo "No pre-install linux actions--using docker"; | ||
elif [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$TOOL" == "cmake" ]]; then | ||
echo "No pre-install osx actions"; | ||
sudo apt-get update; | ||
sudo apt-get -y install git wget unzip; | ||
sudo apt-get -y install build-essential software-properties-common cmake rsync libboost-all-dev; | ||
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then | ||
echo "No before_install actions for OSX"; | ||
elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then | ||
choco install visualstudio2019buildtools --package-parameters "--includeRecommended --includeOptional"; | ||
choco install visualstudio2019-workload-vctools; | ||
fi | ||
|
||
#docker exec xenial /bin/sh -c "export EIGEN3_INCLUDE_DIR=/build/eigen/eigen3 && cd /build/cmake && sh ./build.sh && cmake . && make"; | ||
script: | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then | ||
docker exec -t xenial /build/setup.sh; | ||
docker exec -t xenial /build/build.sh; | ||
./setup.sh; | ||
./build.sh || travis_terminate 1; | ||
echo "Starting Unity Build!"; | ||
(cd Unity && ./build.sh || travis_terminate 1); | ||
elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then | ||
.\\build.cmd; | ||
.\\Unity\\build.cmd; | ||
export PATH=$MSBUILD_PATH:$PATH_FIX:$PATH; | ||
cmd.exe //C 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat' amd64 '&&' | ||
build.cmd '&&' | ||
cd Unity '&&' build.cmd; | ||
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then | ||
git submodule update --init --recursive; | ||
./setup.sh; | ||
./build.sh; | ||
./build.sh || travis_terminate 1; | ||
echo "Starting Unity Build!"; | ||
(cd Unity && ./build.sh || travis_terminate 1); | ||
fi | ||
|
||
# Test ROS wrapper compilation | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then | ||
./tools/install_ros_deps.sh; | ||
(cd ros && source ~/.bashrc && catkin build -DCMAKE_C_COMPILER=gcc-8 -DCMAKE_CXX_COMPILER=g++-8); | ||
fi |
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.