language: objective-c
osx_image: xcode7

env:
  global:
    - LC_CTYPE=en_US.UTF-8
    - secure: kg5TFTNojZ9VOYHApONRUXSbwu+erLs3WSNNX/CKbkO8eQnBo+1koXHnEtOTQ641YRAVpFLX4QK7pbRfmWWWzR6ntNgXmvE4IUa1ggsUlcorApLq+cQin1Tp1es0/Ul0nYLJN8WXbcObKSLy8FOmHkrMWYuffMtH9e7qEL01ei0=

before_install:
  - ./script/import-certificates
  - gem install cocoapods xcpretty -N
  - brew update 
  - brew install carthage
  - carthage bootstrap --use-submodules --no-build

script:
  - carthage build --no-skip-current
  - pod spec lint APIKit.podspec
  - set -o pipefail
  - xcodebuild test -workspace APIKit.xcworkspace -scheme APIKit-iOS -sdk iphonesimulator | xcpretty -c
  - xcodebuild test -workspace APIKit.xcworkspace -scheme APIKit-Mac | xcpretty -c

language: objective-c
osx_image: xcode7

env:
  global:
    - LC_CTYPE=en_US.UTF-8
    - secure: kg5TFTNojZ9VOYHApONRUXSbwu+erLs3WSNNX/CKbkO8eQnBo+1koXHnEtOTQ641YRAVpFLX4QK7pbRfmWWWzR6ntNgXmvE4IUa1ggsUlcorApLq+cQin1Tp1es0/Ul0nYLJN8WXbcObKSLy8FOmHkrMWYuffMtH9e7qEL01ei0=

before_install:
  - ./script/import-certificates
  - gem install cocoapods xcpretty -N
  - brew update 
  - brew install carthage
  - carthage bootstrap --use-submodules --no-build

script:
  - carthage build --no-skip-current --verbose
  - pod spec lint APIKit.podspec
  - set -o pipefail
  - xcodebuild test -workspace APIKit.xcworkspace -scheme APIKit-iOS -sdk iphonesimulator | xcpretty -c
  - xcodebuild test -workspace APIKit.xcworkspace -scheme APIKit-Mac | xcpretty -c

Add verbose option for debug
Add verbose option for debug
