mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 09:33:57 -07:00
travis update (osx + linux) (#3041)
This commit is contained in:
parent
da7c7c1f83
commit
14a0c53fc1
3 changed files with 40 additions and 49 deletions
72
.travis.yml
72
.travis.yml
|
|
@ -1,64 +1,48 @@
|
|||
language: cpp
|
||||
|
||||
cache: ccache
|
||||
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- os: linux
|
||||
dist: trusty
|
||||
group: stable
|
||||
env: BUILDTYPE=Debug
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- bc
|
||||
- cmake
|
||||
- libprotobuf-dev
|
||||
- protobuf-compiler
|
||||
- qt5-default
|
||||
- qttools5-dev
|
||||
- qttools5-dev-tools
|
||||
- qtmultimedia5-dev
|
||||
- libqt5multimedia5-plugins
|
||||
- libqt5svg5-dev
|
||||
- libqt5sql5-mysql
|
||||
- os: linux
|
||||
dist: trusty
|
||||
group: stable
|
||||
env: BUILDTYPE=Release
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- bc
|
||||
- cmake
|
||||
- libprotobuf-dev
|
||||
- protobuf-compiler
|
||||
- qt5-default
|
||||
- qttools5-dev
|
||||
- qttools5-dev-tools
|
||||
- qtmultimedia5-dev
|
||||
- libqt5multimedia5-plugins
|
||||
- libqt5svg5-dev
|
||||
- libqt5sql5-mysql
|
||||
if: branch = master AND NOT type = pull_request
|
||||
- os: osx
|
||||
osx_image: xcode7.3
|
||||
osx_image: xcode8
|
||||
env: BUILDTYPE=Debug
|
||||
cache:
|
||||
ccache: true
|
||||
timeout: 360 # 6min timeout for cache uploading instead default 3
|
||||
directories:
|
||||
- $HOME/Library/Caches/Homebrew # cache Homebrew ressources
|
||||
- os: osx
|
||||
osx_image: xcode7.3
|
||||
osx_image: xcode8
|
||||
env: BUILDTYPE=Release
|
||||
cache:
|
||||
ccache: true
|
||||
timeout: 360 # 6min timeout for cache uploading instead default 3
|
||||
directories:
|
||||
- $HOME/Library/Caches/Homebrew # cache Homebrew ressources
|
||||
if: branch = master AND NOT type = pull_request
|
||||
|
||||
cache: ccache
|
||||
#install dependencies for container-based "linux" builds
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- bc
|
||||
- cmake
|
||||
- libprotobuf-dev
|
||||
- protobuf-compiler
|
||||
- qt5-default
|
||||
- qttools5-dev
|
||||
- qttools5-dev-tools
|
||||
- qtmultimedia5-dev
|
||||
- libqt5multimedia5-plugins
|
||||
- libqt5svg5-dev
|
||||
- libqt5sql5-mysql
|
||||
|
||||
before_install: bash ./.travis/travis-dependencies.sh
|
||||
|
||||
before_install: bash ./.ci/travis-dependencies.sh
|
||||
|
||||
script: bash ./.travis/travis-compile.sh
|
||||
script: bash ./.ci/travis-compile.sh
|
||||
|
||||
|
||||
# Builds for pull requests skip the deployment step altogether
|
||||
|
|
@ -103,6 +87,8 @@ notifications:
|
|||
on_success: change
|
||||
on_failure: change
|
||||
on_start: never
|
||||
on_cancel: change
|
||||
on_error: change
|
||||
|
||||
|
||||
# official validator for ".travis.yml" config file: https://yaml.travis-ci.org
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue