Skip to content

Commit

Permalink
Add project and infrastructure to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Reflejo committed Aug 25, 2016
1 parent 738a979 commit 26b1e9d
Show file tree
Hide file tree
Showing 11 changed files with 683 additions and 53 deletions.
63 changes: 20 additions & 43 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,49 +1,26 @@
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
.DS_Store

## Build generated
build/
DerivedData/

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.pbxuser
!default.perspectivev3
xcuserdata/

## Other
*.hmap
*.mode1v3
*.mode2v3
*.moved-aside
*.pbxuser
*.perspectivev3
*.xccheckout
*.xcscmblueprint
*.xcuserstate

## Obj-C/Swift specific
*.hmap
*.ipa

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
Packages/
._*
.AppleDouble
.build/

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
.DS_Store
.LSOverride
build/
Carthage/Build
coverage.txt
DerivedData
Icon
run-tests
xcuserdata
Packages/
Expand Down
15 changes: 5 additions & 10 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
included:
- Sources
disabled_rules:
- force_cast
- function_body_length
- opening_brance
- variable_name
- variable_name_min_length
line_length:
- 110
type_body_length:
- 350
disabled_rules:
- variable_name
- nesting
- opening_brace
- valid_docs
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
matrix:
include:
- os: osx
env: ACTION=lint
- os: osx
env: ACTION=iOS
- os: osx
env: ACTION=OSX
- os: osx
env: ACTION=tvOS
- os: osx
env: ACTION=carthage
- os: osx
env: ACTION=oss-osx

language: objective-c
osx_image: xcode7.3

script:
- make install-$ACTION && make test-$ACTION
Loading

0 comments on commit 26b1e9d

Please sign in to comment.