From 9960d2a2fff1d4e48d1d3886fd673a20dbd5b848 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 6 Aug 2019 23:57:16 -0700 Subject: [PATCH] Add Travis CI support --- .travis.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5ae3f72 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +language: objective-c + +git: + depth: 1 + +matrix: + include: + - os: osx + osx_image: xcode10.2 + env: + - SCHEME="Moonlight" + - TARGET="platform=iOS Simulator,OS=12.1,name=iPhone SE" + - os: osx + osx_image: xcode10.2 + env: + - SCHEME="Moonlight" + - TARGET="platform=iOS Simulator,OS=12.1,name=iPad Pro (9.7-inch)" + - os: osx + osx_image: xcode10.2 + env: + - SCHEME="Moonlight TV" + - TARGET="platform=tvOS Simulator,OS=12.1,name=Apple TV 4K" + +script: + - set -o pipefail && xcodebuild -project Moonlight.xcodeproj -scheme "$SCHEME" -destination "$TARGET" build | xcpretty \ No newline at end of file