mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-14 02:04:14 +01:00
27 lines
765 B
YAML
27 lines
765 B
YAML
|
language: csharp
|
||
|
mono: none
|
||
|
dotnet: 2.1.300
|
||
|
os:
|
||
|
- linux
|
||
|
- osx
|
||
|
dist: trusty
|
||
|
before_install:
|
||
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository -y ppa:mc3man/trusty-media; fi
|
||
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update; fi
|
||
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -y ffmpeg libgdiplus; fi
|
||
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
|
||
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install ffmpeg mono-libgdiplus; fi
|
||
|
- ffmpeg -hwaccels
|
||
|
script:
|
||
|
- nvm install --lts
|
||
|
- nvm use --lts
|
||
|
- node ./.build/travis-ffmpeg-config.js
|
||
|
- dotnet restore
|
||
|
- dotnet build ./FFMpegCore/
|
||
|
- dotnet test ./FFMpegCore.Test/
|
||
|
branches:
|
||
|
only:
|
||
|
- master
|
||
|
- /fix\/.+/
|
||
|
- /feature\/.+/
|