From 3c77eaec1eb840cfe1b5817703eee235c9c1c6e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Tingstro=CC=88m?= Date: Wed, 9 Aug 2017 13:16:43 +0200 Subject: [PATCH] Running tests on Travis --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..19d72e76 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: objective-c +osx_image: xcode8.3 + +env: + - "DESTINATION='platform=iOS Simulator,name=iPhone 7' ACTION=test" + - "DESTINATION='platform=OS X' ACTION=test" + - "DESTINATION='platform=tvOS Simulator,name=Apple TV 1080p' ACTION=test" + +script: + - set -o pipefail && xcodebuild -project Sources/Swift/FlagKit.xcodeproj -scheme FlagKit -destination "$DESTINATION" $ACTION | xcpretty