Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use fastlane to run tests #91

Merged
merged 10 commits into from
Sep 26, 2016
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
33 changes: 23 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# OS X
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
Expand All @@ -13,20 +11,35 @@ build/
!default.perspectivev3
xcuserdata
*.xccheckout
profile
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
*.gcno
*.xcscmblueprint

# Bundler
.bundle

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
#
# Note: if you ignore the Pods directory, make sure to uncomment
# `pod install` in .travis.yml
#
# Pods/

# Exported environment variables for XcodeCoverage
env.sh

# OS X Finder stuff
.DS_Store

# Fastlane Stuff
*/fastlane/local_config.sh
*/fastlane/report.xml
*/fastlane/test_output
*/fastlane/Provisioning
*/fastlane/Build

# SwiftLint - To save space, this will ignore the uncompressed swiftlint files but not the portable_swiftlint.zip file.
*/swiftlint/SwiftLintFramework.framework
*/swiftlint/swiftlint
30 changes: 10 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
language: objective-c
osx_image: xcode8
before_install:
- brew update > /dev/null; if brew outdated | grep -qx xctool; then brew upgrade xctool; fi
matrix:
include:
- xcode_workspace: SampleProject/SampleProject.xcworkspace
xcode_scheme: VOKCoreDataManager
xcode_sdk: iphonesimulator
- xcode_workspace: SampleProject/SampleProject.xcworkspace
xcode_scheme: VOKCoreDataManager-tvOS
xcode_sdk: appletvsimulator
- xcode_workspace: SampleProject/SampleProject.xcworkspace
xcode_scheme: VOKCoreDataManager-OSX
xcode_sdk: macosx
- xcode_workspace: Paging Data Source Example/Paging Data Source Example.xcworkspace
xcode_scheme: Paging Data Source Example
xcode_sdk: iphonesimulator
- xcode_workspace: SwiftSampleProject/SwiftSampleProject.xcworkspace
xcode_scheme: SwiftyVokoder
xcode_sdk: iphonesimulator
env: # Specify two projects here, so that each is run using the `script` specified below
- PROJECT_DIR=SampleProject
- PROJECT_DIR=SwiftSampleProject
- PROJECT_DIR="Paging Data Source Example"
script: cd "${PROJECT_DIR}" && bundle exec fastlane test
after_script:
- pod lib lint
- pod lib lint
git:
depth: 10000 # For the auto-incrementing build number script to work, we need to clone with a basically-infinite depth.
cache:
- bundler # After main-repo builds, save the "bundler" (local Ruby gems) stuff to cache for future builds.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'
gem 'cocoapods', '~>1.0'
gem 'fastlane', '~>1.104'
gem 'slather', '~>2.3'
292 changes: 292 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,292 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.7.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.4.0)
babosa (1.0.2)
cert (1.4.2)
fastlane_core (>= 0.50.3, < 1.0.0)
spaceship (>= 0.32.0, < 1.0.0)
claide (1.0.0)
clamp (0.6.5)
cocoapods (1.0.1)
activesupport (>= 4.0.2)
claide (>= 1.0.0, < 2.0)
cocoapods-core (= 1.0.1)
cocoapods-deintegrate (>= 1.0.0, < 2.0)
cocoapods-downloader (>= 1.0.0, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-stats (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.0.0, < 2.0)
cocoapods-try (>= 1.0.0, < 2.0)
colored (~> 1.2)
escape (~> 0.0.4)
fourflusher (~> 0.3.0)
molinillo (~> 0.4.5)
nap (~> 1.0)
xcodeproj (>= 1.1.0, < 2.0)
cocoapods-core (1.0.1)
activesupport (>= 4.0.2)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
cocoapods-deintegrate (1.0.1)
cocoapods-downloader (1.1.1)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (1.0.0)
cocoapods-stats (1.0.0)
cocoapods-trunk (1.0.0)
nap (>= 0.8, < 2.0)
netrc (= 0.7.8)
cocoapods-try (1.1.0)
colored (1.2)
commander (4.4.0)
highline (~> 1.7.2)
credentials_manager (0.16.0)
colored
commander (>= 4.3.5)
highline (>= 1.7.1)
security
deliver (1.14.0)
credentials_manager (>= 0.16.0, < 1.0.0)
fastimage (~> 1.6)
fastlane_core (>= 0.52.0, < 1.0.0)
plist (~> 3.1.0)
spaceship (>= 0.34.1, < 1.0.0)
domain_name (0.5.20160826)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.1.1)
escape (0.0.4)
excon (0.45.4)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
faraday-cookie_jar (0.0.6)
faraday (>= 0.7.4)
http-cookie (~> 1.0.0)
faraday_middleware (0.10.0)
faraday (>= 0.7.4, < 0.10)
fastimage (1.6.8)
addressable (~> 2.3, >= 2.3.5)
fastlane (1.104.0)
activesupport (< 5)
addressable (~> 2.3)
bundler (~> 1.12)
cert (>= 1.4.1, < 2.0.0)
credentials_manager (>= 0.16.0, < 1.0.0)
deliver (>= 1.13.3, < 2.0.0)
fastlane_core (>= 0.52.0, < 1.0.0)
frameit (>= 2.7.0, < 3.0.0)
gym (>= 1.9.0, < 2.0.0)
krausefx-shenzhen (>= 0.14.10)
match (>= 0.8.0, < 1.0.0)
multipart-post (~> 2.0.0)
pem (>= 1.3.2, < 2.0.0)
pilot (>= 1.10.0, < 2.0.0)
plist (~> 3.1.0)
produce (>= 1.2.0, < 2.0.0)
scan (>= 0.13.0, < 2.0.0)
screengrab (>= 0.5.2, < 1.0.0)
sigh (>= 1.11.1, < 2.0.0)
slack-notifier (~> 1.3)
snapshot (>= 1.16.0, < 2.0.0)
spaceship (>= 0.33.0, < 1.0.0)
supply (>= 0.7.1, < 1.0.0)
terminal-notifier (~> 1.6.2)
terminal-table (~> 1.4.5)
word_wrap (~> 1.0.0)
xcode-install (~> 2.0.0)
xcodeproj (>= 0.20, < 2.0.0)
xcpretty (>= 0.2.1)
fastlane_core (0.52.0)
babosa
colored
commander (>= 4.4.0, <= 5.0.0)
credentials_manager (>= 0.16.0, < 1.0.0)
excon (~> 0.45.0)
gh_inspector (>= 1.0.1, < 2.0.0)
highline (>= 1.7.2)
json
multi_json
plist (~> 3.1)
rubyzip (~> 1.1.6)
terminal-table (~> 1.4.5)
fourflusher (0.3.2)
frameit (2.7.0)
deliver (> 0.3)
fastimage (~> 1.6.3)
fastlane_core (>= 0.36.1, < 1.0.0)
mini_magick (~> 4.5.1)
fuzzy_match (2.0.4)
gh_inspector (1.0.2)
google-api-client (0.9.15)
addressable (~> 2.3)
googleauth (~> 0.5)
httpclient (~> 2.7)
hurley (~> 0.1)
memoist (~> 0.11)
mime-types (>= 1.6)
representable (~> 2.3.0)
retriable (~> 2.0)
googleauth (0.5.1)
faraday (~> 0.9)
jwt (~> 1.4)
logging (~> 2.0)
memoist (~> 0.12)
multi_json (~> 1.11)
os (~> 0.9)
signet (~> 0.7)
gym (1.10.0)
fastlane_core (>= 0.52.0, < 1.0.0)
plist
rubyzip (>= 1.1.7)
terminal-table
xcpretty (>= 0.2.1)
highline (1.7.8)
http-cookie (1.0.2)
domain_name (~> 0.5)
httpclient (2.8.2.4)
hurley (0.2)
i18n (0.7.0)
json (1.8.3)
jwt (1.5.6)
krausefx-shenzhen (0.14.10)
commander (>= 4.3, < 5.0)
dotenv (>= 0.7)
faraday (~> 0.9)
faraday_middleware (~> 0.9)
highline (>= 1.7.2)
json (~> 1.8)
net-sftp (~> 2.1.2)
plist (~> 3.1.0)
rubyzip (~> 1.1)
security (~> 0.1.3)
terminal-table (~> 1.4.5)
little-plugger (1.1.4)
logging (2.1.0)
little-plugger (~> 1.1)
multi_json (~> 1.10)
match (0.8.0)
cert (>= 1.4.2, < 2.0.0)
credentials_manager (>= 0.16.0, < 1.0.0)
fastlane_core (>= 0.52.0, < 1.0.0)
security
sigh (>= 1.11.0, < 2.0.0)
spaceship (>= 0.33.0, < 1.0.0)
memoist (0.15.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_magick (4.5.1)
mini_portile2 (2.1.0)
minitest (5.9.0)
molinillo (0.4.5)
multi_json (1.12.1)
multi_xml (0.5.5)
multipart-post (2.0.0)
nap (1.1.0)
net-sftp (2.1.2)
net-ssh (>= 2.6.5)
net-ssh (3.2.0)
netrc (0.7.8)
nokogiri (1.6.8)
mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7)
os (0.9.6)
pem (1.3.2)
fastlane_core (>= 0.43.1, < 1.0.0)
spaceship (>= 0.26.2, < 1.0.0)
pilot (1.10.0)
credentials_manager (>= 0.3.0)
fastlane_core (>= 0.46.2, < 1.0.0)
spaceship (>= 0.29.0, < 1.0.0)
terminal-table (~> 1.4.5)
pkg-config (1.1.7)
plist (3.1.0)
produce (1.2.0)
fastlane_core (>= 0.30.0, < 1.0.0)
spaceship (>= 0.31.1, < 1.0.0)
representable (2.3.0)
uber (~> 0.0.7)
retriable (2.1.0)
rouge (1.11.1)
rubyzip (1.1.7)
scan (0.13.0)
fastlane_core (>= 0.52.0, < 1.0.0)
slack-notifier (~> 1.3)
terminal-table
xcpretty (>= 0.2.1)
xcpretty-travis-formatter (>= 0.0.3)
screengrab (0.5.2)
fastlane_core (>= 0.50.3, < 1.0.0)
security (0.1.3)
sigh (1.11.1)
fastlane_core (>= 0.52.0, < 1.0.0)
plist (~> 3.1)
spaceship (>= 0.33.0, < 1.0.0)
signet (0.7.3)
addressable (~> 2.3)
faraday (~> 0.9)
jwt (~> 1.5)
multi_json (~> 1.10)
slack-notifier (1.5.1)
slather (2.3.0)
activesupport (>= 4.0.2, < 5)
clamp (~> 0.6)
nokogiri (~> 1.6.3)
xcodeproj (>= 0.20, < 2.0.0)
snapshot (1.16.0)
fastimage (~> 1.6.3)
fastlane_core (>= 0.52.0, < 1.0.0)
plist (~> 3.1.0)
xcpretty (>= 0.2.1)
spaceship (0.34.1)
colored
credentials_manager (>= 0.16.0)
faraday (~> 0.9)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (~> 0.9)
fastimage (~> 1.6)
multi_xml (~> 0.5)
plist (~> 3.1)
supply (0.7.1)
credentials_manager (>= 0.15.0)
fastlane_core (>= 0.43.4)
google-api-client (~> 0.9.1)
terminal-notifier (1.6.3)
terminal-table (1.4.5)
thread_safe (0.3.5)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uber (0.0.15)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.2)
word_wrap (1.0.0)
xcode-install (2.0.7)
claide (>= 0.9.1, < 1.1.0)
spaceship (>= 0.25.1, < 1.0.0)
xcodeproj (1.3.1)
activesupport (>= 3)
claide (>= 1.0.0, < 2.0)
colored (~> 1.2)
xcpretty (0.2.2)
rouge (~> 1.8)
xcpretty-travis-formatter (0.0.4)
xcpretty (~> 0.2, >= 0.0.7)

PLATFORMS
ruby

DEPENDENCIES
cocoapods (~> 1.0)
fastlane (~> 1.104)
slather (~> 2.3)

BUNDLED WITH
1.12.5
Loading