servatrice/.travis.yml

40 lines
No EOL
986 B
YAML

language: cpp
sudo: required
matrix:
fast_finish: true
include:
- os: linux
dist: trusty
env: BUILDTYPE=Debug DIST=trusty
- os: linux
dist: trusty
env: BUILDTYPE=Release DIST=trusty
- os: osx
osx_image: xcode6.4
env: BUILDTYPE=Debug
- os: osx
osx_image: xcode6.4
env: BUILDTYPE=Release
script: "./travis-compile.sh"
install: "./travis-dependencies.sh"
cache: apt
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/d94969c3b01b22cbdcb7
on_success: change
on_failure: change
on_start: never
deploy:
provider: releases
api_key:
secure: "mLMF41q7xgOR1sjczsilEy7HQis2PkZCzhfOGbn/8FoOQnmmPOZjrsdhn06ZSl3SFsbfCLuClDYXAbFscQmdgjcGN5AmHV+JYfW650QEuQa/f4/lQFsVRtEqUA1O3FQ0OuRxdpCfJubZBdFVH8SbZ93GLC5zXJbkWQNq+xCX1fU="
file_glob: true
file: "build/Cockatrice-*"
prerelease: true
skip_cleanup: true
overwrite: true
on:
tags: true
repo: Cockatrice/Cockatrice
condition: $BUILDTYPE = Release