Merge pull request #49 from JrGoodle/travis-ci

Add support for Travis CI
This commit is contained in:
Matt Diephouse 2016-01-30 20:56:29 -05:00
commit d6787e905d
3 changed files with 36 additions and 1 deletions

16
.gitignore vendored
View File

@ -20,3 +20,19 @@ DerivedData
External/libgit2*.a
### fastlane ###
# fastlane - A streamlined workflow tool for Cocoa deployment
# fastlane specific
fastlane/report.xml
# deliver temporary files
fastlane/Preview.html
# snapshot generated screenshots
fastlane/screenshots/**/*.png
fastlane/screenshots/screenshots.html
# scan temporary files
fastlane/test_output
test_output

19
.travis.yml Normal file
View File

@ -0,0 +1,19 @@
language: objective-c
osx_image: xcode7.2
sudo: false # Enable container-based builds
install:
- gem install scan
- brew install cmake
- brew install libssh2
script: scan -w SwiftGit2.xcworkspace -s "SwiftGit2-OSX"
branches:
only: # whitelist
- master
notifications:
email: false

View File

@ -1,4 +1,4 @@
# SwiftGit2
# SwiftGit2 [![Build Status](https://travis-ci.org/SwiftGit2/SwiftGit2.svg)](https://travis-ci.org/SwiftGit2/SwiftGit2)
Swift bindings to [libgit2](https://github.com/libgit2/libgit2).
```swift