Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
.travis.yml 3.11 KB
Copy Edit Web IDE Raw Blame History
kl222 authored 2019-06-24 12:00 . Add update_linux_appimage.xml
sudo: required
dist: xenial
language: cpp
cache:
- apt
- directories:
compiler:
- g++
jdk: oraclejdk7
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 BUILD_DOWNLOAD=FALSE
#- BUILD_TARGERT="unix" QT_VERSION_DIR=511 QT_VERSION=-5.11.1 BUILD_DOWNLOAD=FALSE
#- BUILD_TARGERT="unix" QT_VERSION_DIR=59 QT_VERSION=597 BUILD_DOWNLOAD=FALSE
- BUILD_TARGERT="unix" BUILD_ARCH="unix" QT_VERSION_DIR=5.12 QT_VERSION=5.12.2 BUILD_DOWNLOAD=TRUE
- BUILD_TARGERT="unix" BUILD_ARCH="unix" QT_VERSION_DIR=5.9 QT_VERSION=5.9.7 BUILD_DOWNLOAD=TRUE
- BUILD_TARGERT="unix" BUILD_ARCH="unix" QT_VERSION_DIR=5.6 QT_VERSION=5.6.3 BUILD_DOWNLOAD=TRUE
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="v0.3.7"
install:
- cd ${SOURCE_DIR}
- git clone https://github.com/KangLin/RabbitCommon.git
- export RabbitCommon_DIR="`pwd`/RabbitCommon"
- bash ci/build-install-tools.sh > /dev/null
# - |
# if [ "$BUILD_TARGERT"="unix" -a -z "$RABBIT_ARCH" ]; then
# source /opt/qt511/bin/qt511-env.sh
# fi
before_script:
- cd ${SOURCE_DIR}
script:
- bash ${SOURCE_DIR}/ci/build.sh ${SOURCE_DIR}
after_script:
# - "xpra stop :99"
#after_success:
#- |
#wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
#chmod a+x linuxdeployqt-continuous-x86_64.AppImage
#export VERSION="v0.3.7"
#./linuxdeployqt-continuous-x86_64.AppImage debian/serialportassistant/opt/SerialPortAssistant/share/applications/*.desktop -appimage
#wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
#bash upload.sh Serial*.AppImage*
#branches:
# except:
# - # Do not build tags that we create when we upload to GitHub Releases
# - /^(?i:continuous)$/
notifications:
email: kl222@126.com
on_success: never
on_failure: always
#deploy:
# - provider: releases
# api_key:
# secure: nYf7nWTSp5PnEow6DjKwiJJwhsdJTqFZd9KlvxFC7QOjsRyHtzpXM2SDK1BavOws/gK0GxtjYfpt2f4GTuQJvDB3mJsn4OKvVGlkKtBFhTNDMVZjehhbgvmeivvtQ+NI8gbQtkI29oXes0ToKqvUV94WL5wRJwcUnfFvinJmxIHhlfQ3/nf9C1KAgFQ2oAiWCj+pOj54LEdEfBnqZfbpBvalwW4PWPB4lBLFvQpyNJhdcxHrl8Cvo8qfq07glPNoD4HLFaGhAQ+hxCcoC5cgrQxsGu9sVyHgHXj0a3BV520Aa946WrR4P0yHQnECH169WY4ZzPcpZjJyd0l+gC37sggAjQsXw+LwLOB/uFY7Ipg8xquHIYPDC8UUdfPBVcd0aJ+u7Mb7CUUnwCZ1gL/w1oi1TFyEJcCp/HznparCQAdiyaX6BBXghxKAYRWMBDGvFAx5gZv2OaocRIOdGLAIXGL43vLKbuLjNj2syLB2GzG5uPaOgaZQyYlIhd/iU6r55Ih2XMCGsTOwCOSy+Y1+ULGBoP7ZE8AuVlHxn9MZQoZg24IVqlXgIr/bEtcSwIi0wCKfjvsD3TjMSwAr6stilhHmJ6ldB9B+TAX6TdxB/NUDDxaxG2ZoYXOWOanBv02FYc/Opbq8WA3vv6AlE+FAqOtdcc8ULBC4rz8Q8UOro6U=
# file: $TRAVIS_BUILD_DIR/../serialportassistant_*_amd64.deb
# skip_cleanup: true
# #draft: true
# on:
# tags: true
# condition: "$BUILD_TARGERT=unix && FALSE=$BUILD_DOWNLOAD"

Comment ( 0 )

Sign in for post a comment