Skip to content
This repository was archived by the owner on Mar 10, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: objective-c
language: swift
osx_image: xcode8.1
branches:
only:
- master
- master

env:
global:
Expand All @@ -14,24 +14,21 @@ env:
- TVOS_SDK=appletvsimulator10.0

matrix:
- DESTINATION="OS=10.1,name=iPhone 6S Plus" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES
- DESTINATION="OS=10.1,name=iPhone 6S Plus" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES"
- DESTINATION="OS=10.0,name=Apple TV 1080p" SCHEME="$TVOS_FRAMEWORK_SCHEME" SDK="$TVOS_SDK" RUN_TESTS="YES"

script:
- set -o pipefail

# Build Framework in Debug and Run Tests if specified
- if [ $RUN_TESTS == "YES" ]; then
xcodebuild -project "$PROJECT_NAME" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO clean build test | xcpretty;
xcodebuild -project "$PROJECT_NAME" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug test | xcpretty;
else
xcodebuild -project "$PROJECT_NAME" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO clean build | xcpretty;
xcodebuild -project "$PROJECT_NAME" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty;
fi

# Build in release
- xcodebuild -project "$PROJECT_NAME" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO clean build | xcpretty;
- xcodebuild -project "$PROJECT_NAME" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty;

after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
slack:
secure: ieWTXjWNxG8CzgeHpj5q1Rz4/l5pgCT65W0AfL3SdfdLrXv56frhW9bFl5C34HZyhCNijUggSlq2wGUPDuGmZ7tU94HX+3EXWkL0vs4pUcTKF8/rcnyQ2n1t4MzOZKX7MLSJOTGE874fp1d4XoXBT35FIi06hgG1xIXXprKYAxt7bS9kSPpfVxZSlH1N8pHiXJx6oJZU16YsEj7wkuBOgmp21TUQc580mDfAphO2dgdaPcG2A63IgsLrE/MTcUy32Czr9QED0nXA02q8n1EPUgOsJV6qtxz0mxgfL86Kt4VfajapfrHJTdu6sGzdFxy0/VcbZjOQJWCGlPlf9LjC0S4PdPo1iPEXQjrnPGNAjoZ0e0qwQH6/30sWuHuD/2LaLGyRM7bWLtSfYRMKCsXVl54VDGSmP0uVcXPTyGzrz0qoBfw/bQnurFKqnz9PGF+18aqiyk26YXCRWjLBTpWGSHUIiaHS1qL2xUfdnHdiznowoEFnRaWT5FYrZNRN4lVLwJg3OI/UWVGg5AATg90kHPQ06qvaqOqEbfy4ZTwWFbth0866djhaBsoo9NrwwwVVoUUqlCBv413x0Lp3tTNg3AUQvTRz5uJ+HC94/i3/3eEUM2rQUJbgVVfRhxrB8u/rgu37/DTKYMBgARveMn4qY2blpHU22q1mk+YmOLMHSi0=
- bash <(curl -s https://codecov.io/bash)
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Spinner
> Present loading indicators anywhere quickly and easily

[![Travis](https://travis-ci.org/nodes-ios/Spinner.svg?branch=master)](https://travis-ci.org/nodes-ios/Spinner)
[![Codecov](https://img.shields.io/codecov/c/github/nodes-ios/Spinner.svg)](https://codecov.io/github/nodes-ios/Spinner)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
![Plaform](https://img.shields.io/badge/platform-iOS-lightgrey.svg)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/nodes-ios/Spinner/blob/master/LICENSE)

A helpful loading spinner tool allowing you to present a UIActivityIndicator view directly in to views and buttons.

## 📝 Requirements
Expand Down