1 Star 0 Fork 0

邹欣琰/AirSim

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.85 KB
一键复制 编辑 原始数据 按行查看 历史
language: cpp
jobs:
include:
- name: Ubuntu 18.04
os: linux
dist: bionic
- name: Ubuntu 16.04
os: linux
dist: xenial
- 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"
- name: MacOS
os: osx
osx_image: xcode11.4
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
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
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
./setup.sh;
./build.sh || travis_terminate 1;
echo "Starting Unity Build!";
(cd Unity && ./build.sh || travis_terminate 1);
elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
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
./setup.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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zou-xinyan/AirSim.git
git@gitee.com:zou-xinyan/AirSim.git
zou-xinyan
AirSim
AirSim
master

搜索帮助