This is actually the recommended way of installing packages in Travis rather than installing them manually in the build script. This helps get around being caught by Ruby version issues (which we have recently). See the following link for more information: https://docs.travis-ci.com/user/installing-dependencies/#using-homebrew-without-addon-on-older-macos-images
39 lines
771 B
YAML
39 lines
771 B
YAML
language: cpp
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
env: ARCH=x86_64
|
|
compiler: gcc
|
|
sudo: require
|
|
dist: trusty
|
|
- os: osx
|
|
addons:
|
|
homebrew:
|
|
packages:
|
|
- ffmpeg
|
|
- qt5
|
|
- grep
|
|
- opencolorio
|
|
- openimageio
|
|
update: true
|
|
# Can't build on Windows - affected by https://travis-ci.community/t/current-known-issues-please-read-this-before-posting-a-new-topic/264/10
|
|
# - os: windows
|
|
|
|
before_install:
|
|
- source ./.travis/before_install.sh
|
|
|
|
install:
|
|
- source ./.travis/install.sh
|
|
|
|
script:
|
|
- source ./.travis/script.sh
|
|
|
|
after_success:
|
|
- source ./.travis/after_success.sh
|
|
|
|
branches:
|
|
except:
|
|
- # Do not build tags that we create when we upload to GitHub Releases
|
|
- /^(?i:continuous)/
|