2017-04-19 19:54:15 +00:00
|
|
|
language: cpp
|
|
|
|
|
2017-06-29 19:01:10 +00:00
|
|
|
cache:
|
|
|
|
ccache: true
|
|
|
|
|
2017-04-19 19:54:15 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
# AWS S3 creds
|
|
|
|
# access key
|
|
|
|
- secure: "MfhOg+84yb4ZHB2tM8PIPFQX2Y+WLN0I0iiAgyLC4KaHPUoNOyloe9yk6OjV7Lj7SZWqTlQUsqHa8S9mOUswGIody1Ydglo4RvyGOKCd8I6b2ri/jE8qHVuD9sO+sNlIxq4YqqG/qReTsbSs2YEgLneZUCYLCk/fihl8L6eVuSc="
|
|
|
|
# secret
|
|
|
|
- secure: "JRQVU2zgC3hY6CEY+Crmh/upp93En0BzKaLcsuBT538johNlK7m5hn3m2UOw63seLvBvVaKKWUDj9N986a3DwcXxWPMyF/9ctXgNWy39WzaVWxrbVR5nQB1fdiRp5YEgkoVN+gEm3OVF7sV5AGzh5/8CvEdRCoTLIGgMGHxW9mc="
|
|
|
|
|
2017-06-29 19:01:10 +00:00
|
|
|
# ccache
|
|
|
|
- USE_CCACHE=1
|
|
|
|
- CCACHE_COMPRESS=1
|
|
|
|
- CCACHE_MAXSIZE=200M
|
|
|
|
- CCACHE_CPP2=1
|
|
|
|
|
2017-04-19 19:54:15 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: osx
|
2018-12-16 16:14:58 +00:00
|
|
|
osx_image: xcode9.4
|
2017-04-19 19:54:15 +00:00
|
|
|
env:
|
|
|
|
- CMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake
|
2019-09-22 21:19:10 +00:00
|
|
|
- CEF_BUILD_VERSION=3770
|
2017-04-19 19:54:15 +00:00
|
|
|
before_install: "./CI/install-dependencies-osx.sh"
|
|
|
|
before_script: "./CI/before-script-osx.sh"
|
|
|
|
before_deploy: "./CI/before-deploy-osx.sh"
|
|
|
|
|
|
|
|
- os: linux
|
2019-07-27 12:47:10 +00:00
|
|
|
dist: xenial
|
2017-04-19 19:54:15 +00:00
|
|
|
sudo: required
|
|
|
|
before_install: "./CI/install-dependencies-linux.sh"
|
|
|
|
before_script: "./CI/before-script-linux.sh"
|
|
|
|
|
|
|
|
script: cd ./build && make -j4 && cd -
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: s3
|
|
|
|
access_key_id: $AWS_ACCESS_KEY
|
|
|
|
secret_access_key: $AWS_SECRET_KEY
|
|
|
|
skip_cleanup: true
|
|
|
|
local_dir: nightly
|
|
|
|
bucket: obs-nightly
|
|
|
|
region: us-west-2
|
|
|
|
acl: public_read
|
|
|
|
on:
|
2018-12-16 16:14:58 +00:00
|
|
|
repo: obsproject/obs-studio
|
2017-04-19 19:54:15 +00:00
|
|
|
condition: "$TRAVIS_OS_NAME = osx"
|
|
|
|
all_branches: true
|
|
|
|
|
|
|
|
notifications:
|
2017-06-29 19:01:10 +00:00
|
|
|
webhooks:
|
|
|
|
urls:
|
2018-12-16 16:14:58 +00:00
|
|
|
- secure: EVI2cu5OnNxVTl4jdVppps7O869gGN1PDcSi8fqq/HJVM5kif8iDe4wCrIKv6yWrK3dSNwRgBAwpcPZglRJnKRh23PdFoCdnTjgzBQlmjUR6BYlunQvoKR9mVX6AdT8zrFDgmtC4aOtGD2paptpqt+Equo25KrLwv+qOHJOTrSQ=
|
2019-07-27 12:47:10 +00:00
|
|
|
on_success: always
|
2017-06-29 19:01:10 +00:00
|
|
|
on_failure: always
|
|
|
|
|