matrix:
  include:
    - script:
        - xcodebuild test -scheme Result-Mac
        - xcodebuild test -scheme Result-iOS -sdk iphonesimulator
        - xcodebuild test -scheme Result-tvOS -sdk appletvsimulator
        - xcodebuild build -scheme Result-watchOS -sdk watchsimulator
        - pod lib lint
      env: JOB=Xcode
      os: osx
      osx_image: xcode7.3
      language: objective-c
    - script:
        - swift build
        - swift test
      env: JOB=Linux
      sudo: required
      dist: trusty
      language: generic
      install:
        - eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)"
notifications:
  email: false

matrix:
  include:
    - script:
        - xcodebuild test -scheme Result-Mac
        - xcodebuild test -scheme Result-iOS -sdk iphonesimulator
        - xcodebuild test -scheme Result-tvOS -sdk appletvsimulator
        - xcodebuild build -scheme Result-watchOS -sdk watchsimulator
        - pod lib lint
      env: JOB=Xcode
      os: osx
      osx_image: xcode7.3
      language: objective-c
    - script:
        - swift build
        - swift test
      env: JOB=SPM
      os: osx
      osx_image: xcode7.3
      language: objective-c
      install:
        - eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)"
    - script:
        - swift build
        - swift test
      env: JOB=Linux
      sudo: required
      dist: trusty
      language: generic
      install:
        - eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)"
notifications:
  email: false

Add SwiftPM job on OS X
[Travis] Add SwiftPM job on OS X
