1 Star 0 Fork 11

sunnyHu/TableEdit

forked from Qt进阶之路/TableEdit 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.81 KB
一键复制 编辑 原始数据 按行查看 历史
涛哥威威 提交于 2019-05-16 00:35 . up deploy
language: cpp
sudo: required
compiler: gcc
group: deprecated-2019Q1
matrix:
include:
- os: linux
dist: xenial
env:
releaseName=TableEdit_ubuntu_xenial_x64.AppImage
cache:
bundler: true
apt: true
directories:
- /opt/qt512/
- ./linuxdeployqt.AppImage
- os: osx
osx_image: xcode10.2
env:
releaseName=TableEdit_macos10-14_xcode10-2.dmg
cache:
bundler: true
directories:
- /usr/local/opt/qt
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then chmod a+x ./scripts/macos/install.sh; ./scripts/macos/install.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then chmod a+x ./scripts/ubuntu/install.sh; ./scripts/ubuntu/install.sh; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then chmod a+x ./scripts/macos/build.sh; ./scripts/macos/build.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then chmod a+x ./scripts/ubuntu/build.sh; ./scripts/ubuntu/build.sh; fi
before_deploy:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then chmod a+x ./scripts/macos/deploy.sh; ./scripts/macos/deploy.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then chmod a+x ./scripts/ubuntu/deploy.sh; ./scripts/ubuntu/deploy.sh; fi
deploy: # 部署
provider: releases # 部署到 GitHub Release,除此之外,Travis CI 还支持发布到 fir.im、AWS、Google App Engine 等
api_key: $GITHUB_OAUTH_TOKEN # 填写 GitHub 的 token (Settings -> Personal access tokens -> Generate new token)
file: bin/${releaseName} # 部署文件路径
skip_cleanup: true # 设置为 true 以跳过清理,不然 apk 文件就会被清理
on: # 发布时机
tags: true # tags 设置为 true 表示只有在有 tag 的情况下才部署
notifications:
email: false
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sunnyliuyunxiao/TableEdit.git
git@gitee.com:sunnyliuyunxiao/TableEdit.git
sunnyliuyunxiao
TableEdit
TableEdit
master

搜索帮助