1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore: do Travis Windows builds only on master

This commit is contained in:
sudden6 2019-03-17 16:03:31 +01:00
parent 1629e3a33e
commit c0f493b6b8
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -9,15 +9,25 @@ branches:
- master
- /^v(\d+\.){2}\d+$/
matrix:
fast_finish: true
stages:
- Linux
- name: "Windows Stage 1: Dependencies (OpenSSL, Qt)"
if: type = push AND branch = master
- name: "Windows Stage 2: Dependencies (other)"
if: type = push AND branch = master
- name: "Windows Stage 3: qTox"
if: type = push AND branch = master
jobs:
include:
- stage: Linux
os: linux
env: JOB=verify-commit-format
script: "./.travis/$JOB.sh"
- stage: Linux
os: linux
env: JOB=build-docs DOXYGEN_CONFIG_FILE=doxygen.conf
script: "./.travis/$JOB.sh"
- stage: Linux
os: linux
env: JOB=build-gitstats GITSTATS_DIR=gitstats
@ -25,10 +35,12 @@ matrix:
apt:
packages:
- gitstats
script: "./.travis/$JOB.sh"
# the actual compilin'
- stage: Linux
os: linux
env: JOB=build-ubuntu-14-04
script: "./.travis/$JOB.sh"
- stage: "Windows Stage 1: Dependencies (OpenSSL, Qt)"
os: linux
# Makes the cache this job creates avaiable only to jobs with WINDOWS_BUILD_ARCH_CACHE_TRICK_VARIABLE=i686,
@ -113,7 +125,7 @@ matrix:
- $HOME/Library/Caches/Homebrew
before_cache:
- brew cleanup
script: "./.travis/$JOB.sh"
- stage: "macOS, AppImage and Flatpak"
os: linux
env: JOB=APPIMAGE
@ -127,7 +139,7 @@ matrix:
services:
- docker
script: "./.travis/$JOB.sh"
deploy:
# Linux AppImage