Skip to content

Instantly share code, notes, and snippets.

View luismachado's full-sized avatar

Luis Machado luismachado

View GitHub Profile
language: objective-c #1
osx_image: xcode9.2 #2
jobs:
include:
- script: xcodebuild clean build test -project FizzBuzz.xcodeproj -scheme FizzBuzz -destination "platform=iOS Simulator,name=iPhone 8,OS=11.2" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO
if which swiftlint >/dev/null; then
swiftlint
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi
language: objective-c #1
osx_image: xcode9.2 #2
install:
- gem install xcpretty
jobs:
include:
- script: xcodebuild clean build test -project FizzBuzz.xcodeproj -scheme FizzBuzz -destination "platform=iOS Simulator,name=iPhone 8,OS=11.2" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO | xcpretty -c
language: objective-c #1
osx_image: xcode9.2 #2
install:
- gem install xcpretty
jobs:
include:
- script: xcodebuild clean build test -project FizzBuzz.xcodeproj -scheme FizzBuzz -destination "platform=iOS Simulator,name=iPhone 8,OS=11.2" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO xcpretty -c
- script: swiftlint
language: objective-c #1
osx_image: xcode9.2 #2
install:
- gem install xcpretty
jobs:
include:
- script: xcodebuild clean build test -project FizzBuzz.xcodeproj -scheme FizzBuzz -destination "platform=iOS Simulator,name=iPhone 8,OS=11.2" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO -enableCodeCoverage YES | xcpretty -c
after_script: bash <(curl -s https://codecov.io/bash) -t YOUR_TOKEN
fail_on_violations: true
#!/bin/bash
set -e
gem install bundler
gem install xcpretty
gem install cocoapods
#!/bin/bash
set -e
# Update all external dependencies
pod install
#!/bin/bash
xcodebuild clean test -workspace FizzBuzz.xcworkspace -scheme FizzBuzz -sdk iphonesimulator -destination "platform=iOS Simulator,OS=11.2,name=iPhone 8" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO | xcpretty -c
# iOS CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/ios-migrating-from-1-2/ for more details.
#
version: 1
jobs:
test:
macos:
xcode: "9.2.0"
steps: