From 3a0e4ce17e65da8dbc17888c849a2280436aac93 Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Sun, 26 Oct 2014 18:34:46 +0000 Subject: [PATCH 1/2] Enable travis-ci --- .travis.yml | 6 + README.md | 2 + .../xcshareddata/xcschemes/Stencil.xcscheme | 110 ++++++++++++++++++ 3 files changed, 118 insertions(+) create mode 100644 .travis.yml create mode 100644 Stencil.xcodeproj/xcshareddata/xcschemes/Stencil.xcscheme diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..bc9fa72 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,6 @@ +language: objective-c +before_install: + - gem install cocoapods + - gem install xcpretty +script: xcodebuild -project Stencil.xcodeproj -scheme Stencil test | xcpretty -c; exit ${PIPESTATUS[0]} + diff --git a/README.md b/README.md index 1a17aa8..4feb5dd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ Stencil ======= +[![Build Status](http://img.shields.io/travis/kylef/Stencil/master.svg?style=flat)](https://travis-ci.org/kylef/Stencil) + Stencil is a simple and powerful template language for Swift. It provides a syntax similar to Django and Mustache. If you're familiar with these, you will feel right at home with Stencil. diff --git a/Stencil.xcodeproj/xcshareddata/xcschemes/Stencil.xcscheme b/Stencil.xcodeproj/xcshareddata/xcschemes/Stencil.xcscheme new file mode 100644 index 0000000..220cf8f --- /dev/null +++ b/Stencil.xcodeproj/xcshareddata/xcschemes/Stencil.xcscheme @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From b3d551962ab1d3a5deef81cb287b11bb7659e586 Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Thu, 6 Nov 2014 00:39:00 +0000 Subject: [PATCH 2/2] [travis] Use Xcode 6.1 --- .travis.yml | 1 + Stencil.xcodeproj/project.pbxproj | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index bc9fa72..e28e673 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: objective-c +osx_image: xcode61 before_install: - gem install cocoapods - gem install xcpretty diff --git a/Stencil.xcodeproj/project.pbxproj b/Stencil.xcodeproj/project.pbxproj index 2a702f5..b7b5ea7 100644 --- a/Stencil.xcodeproj/project.pbxproj +++ b/Stencil.xcodeproj/project.pbxproj @@ -321,7 +321,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.10; + MACOSX_DEPLOYMENT_TARGET = 10.9; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -360,7 +360,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.10; + MACOSX_DEPLOYMENT_TARGET = 10.9; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; VERSIONING_SYSTEM = "apple-generic";