1 Star 1 Fork 1

doner/RabbitIm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 3.94 KB
一键复制 编辑 原始数据 按行查看 历史
kl222 提交于 2020-07-30 17:04 . Add cmake in android
sudo: required
dist: xenial
language: cpp
cache:
- apt
- directories:
compiler:
- g++
os:
- unix
addons:
ssh_known_hosts:
- github.com
env:
global:
- SOURCE_DIR=$TRAVIS_BUILD_DIR
- RABBITIM_USE_REPOSITORIES="TRUE"
- QMAKE=qmake
- RABBITIM_BUILD_THIRDLIBRARY="TRUE"
matrix:
#- BUILD_TARGERT="unix" QT_VERSION_DIR=512 QT_VERSION=-5.12.3 DOWNLOAD_QT=FALSE
#- BUILD_TARGERT="unix" QT_VERSION_DIR=511 QT_VERSION=-5.11.1 DOWNLOAD_QT=FALSE
- BUILD_TARGERT="unix" DOWNLOAD_QT=APT DOWNLOAD_THIRDLIBS_URL=https://github.com/KangLin/RabbitThirdLibrary/releases/download/v0.3.2/unix_x86_64_Release_qt5.9.5_v0.3.2.tar.gz
- BUILD_TARGERT="unix" DOWNLOAD_QT=APT GENERATORS="Unix Makefiles" DOWNLOAD_THIRDLIBS_URL=https://github.com/KangLin/RabbitThirdLibrary/releases/download/v0.3.2/unix_x86_64_Release_qt5.9.5_v0.3.2.tar.gz
#- BUILD_TARGERT="unix" BUILD_ARCH="unix" QT_VERSION_DIR=5.12 QT_VERSION=5.12.4 DOWNLOAD_QT=TRUE GENERATORS="Unix Makefiles"
#- BUILD_TARGERT="unix" BUILD_ARCH="unix" QT_VERSION_DIR=5.9 QT_VERSION=5.9.7 DOWNLOAD_QT=TRUE GENERATORS="Unix Makefiles" STATIC=ON
#- BUILD_TARGERT="unix" BUILD_ARCH="unix" QT_VERSION_DIR=5.6 QT_VERSION=5.6.3 DOWNLOAD_QT=TRUE
- BUILD_TARGERT="android" BUILD_ARCH="arm" QT_VERSION_DIR=5.12 QT_VERSION=5.12.6 ANDROID_API=android-29 DOWNLOAD_QT=TRUE DOWNLOAD_THIRDLIBS_URL=https://github.com/KangLin/RabbitThirdLibrary/releases/download/v0.3.2/android_x86_Release_qt5.12.6_v0.3.2_in_linux.tar.gz
- BUILD_TARGERT="android" BUILD_ARCH="arm64" GENERATORS="Unix Makefiles" QT_VERSION_DIR=5.12 QT_VERSION=5.12.6 ANDROID_API=android-29 DOWNLOAD_QT=TRUE DOWNLOAD_THIRDLIBS_URL=https://github.com/KangLin/RabbitThirdLibrary/releases/download/v0.3.2/android_arm64_Release_qt5.12.6_v0.3.2_in_linux.tar.gz
- BUILD_TARGERT="android" BUILD_ARCH="x86" QT_VERSION_DIR=5.12 QT_VERSION=5.12.6 ANDROID_API=android-29 DOWNLOAD_QT=TRUE DOWNLOAD_THIRDLIBS_URL=https://github.com/KangLin/RabbitThirdLibrary/releases/download/v0.3.2/android_x86_Release_qt5.12.6_v0.3.2_in_linux.tar.gz
- BUILD_TARGERT="android" BUILD_ARCH="x86_64" GENERATORS="Unix Makefiles" QT_VERSION_DIR=5.12 QT_VERSION=5.12.6 ANDROID_API=android-9 DOWNLOAD_QT=TRUE RABBIT_CONFIG=Debug DOWNLOAD_THIRDLIBS_URL=https://github.com/KangLin/RabbitThirdLibrary/releases/download/v0.3.2/android_x86_64_Debug_qt5.13.2_v0.3.2_in_linux.tar.gz
before_install:
- echo "TRAVIS_OS_NAME=${TRAVIS_OS_NAME}"
- sudo apt-get install -y -qq xvfb xpra
- sudo Xvfb :99 -ac &
- export DISPLAY=:99.0
- mkdir ${SOURCE_DIR}/Tools
- export VERSION="0.0.10"
install:
- cd ${SOURCE_DIR}
- git clone https://github.com/KangLin/RabbitCommon.git
- export RabbitCommon_DIR="`pwd`/RabbitCommon"
- bash ThirdLibrary/build_script/ci/build-install-apt.sh #> /dev/null
- bash ci/build-install-tools.sh #> /dev/null
before_script:
- cd ${SOURCE_DIR}
script:
- bash ${SOURCE_DIR}/ci/build.sh ${SOURCE_DIR}
notifications:
email: kl222@126.com
on_success: never # [always|never|change]
on_failure: always
#deploy:
# - provider: releases
# api_key:
# secure: ALZWWdQlmi0gJ5Gs9gjX4waV4JYvZAFogN6oUCJayWYkCvME/z1QSxMERuZhRM0F4K2Kt8LWK2ozp18OEtonNQJ81ZELbZRYMQwl4C3Cmfhnywyn4UgiU3CLEQ3Dn25iLqHy7QhaS6BWyISxVQxrsEhFkc0tLDODwk45tibiniIpTtBtTB9Tx85p8FEfdOHUCNxhVtW9zF0LjdWxD569HEzpKDi8c4naNCDVvbBA9r2voQqt3NkNsCNz10vxyV+xO8uJIs1/K5Mj6Gnd+UaUtSDnVTUKCZatcge5OGpu9TcYbH5yLuhlTifVtYmhmK3YeAmte6uNlD6WYIdpSTMJLQ8Lgc2WE+2mj0G16afWtY9ajTqVUlJEa1R078gCnFG4YeYjUYIZhFq/u0U16Ga95RvHAZlQNVcyDLb/Mwt6QyJJdWRNHzsm1sY6mwhXKRwAMGvPl9RTWl6JJdFT5wcPYIzPL9+Y6k6ZhkdI6kWEzA7HYUbA1mLiF6Q8h+ezKnb10KiPEAFU4NNUmf3RKMwolRSTN/TkiZCRIVsPKnkLgS5LzTf6s0rGBZ2g5vWo1fDsigDPBJRE27742pPDXXMt82CySThq3lKJFwQsGObLg1z2H8XbvDkImVIVOK98oW2a/7aXX28/0LjWE2tdV83p1ho5DvyTlGZio+fqk0qmfsw=
# file: "$TRAVIS_BUILD_DIR/../rabbitim_${VERSION}_amd64.deb "
# skip_cleanup: true
# on:
# tags: true
# condition: "$BUILD_TARGERT=unix && $QT_VERSION_DIR=512 && $DOWNLOAD_QT=FALSE"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/doner/RabbitIm.git
git@gitee.com:doner/RabbitIm.git
doner
RabbitIm
RabbitIm
master

搜索帮助