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