forked from TrenchBroom/TrenchBroom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 936 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: cpp
matrix:
include:
- os: linux
dist: trusty
sudo: required
- os: linux
dist: trusty
sudo: required
env: TB_GCC8=true
- os: osx
osx_image: xcode9.3
- os: osx
osx_image: xcode9.3
env: TB_DEBUG_BUILD=true
cache:
directories:
- wx-install-cache
script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./travis-macos.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./travis-linux.sh; fi
deploy:
provider: releases
file_glob: true
skip_cleanup: true
api_key:
secure: "W2j2h2gKveogAS9u8zxavzjCPHtPBXpbDVw9Swyvn9idyeqTbeOM+uzww7MkqakIbjGrMhQdfJiCoVC3qQCw5QLybvtBWYjdHGtkq4m9F9WFmGQ4/tSOZEzvz6VNkQmGPOuRzyHWFFZQtbAn9OmJrPgjI8LrWUUubmlQ5304jnQ="
file:
- "build/*.deb"
- "build/*.rpm"
- "build/*.dmg"
- "build/*.md5"
on:
repo: kduske/TrenchBroom
tags: true
condition: $TB_DEBUG_BUILD != 'true' && $TB_GCC8 != 'true'