language: objective-c
osx_image: xcode8.3
before_install:
  - sudo gem install xcpretty xcpretty-travis-formatter
  - brew install swiftlint
script:
  - set -o pipefail && xcodebuild build test -project AsyncNinja.xcodeproj -scheme AsyncNinja -sdk macosx -configuration Release | xcpretty --no-color --no-utf -f `xcpretty-travis-formatter`
  - set -o pipefail && xcodebuild build test -project AsyncNinja.xcodeproj -scheme AsyncNinja -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 5' -configuration Release | xcpretty --no-color --no-utf -f `xcpretty-travis-formatter`
  - set -o pipefail && xcodebuild build test -project AsyncNinja.xcodeproj -scheme AsyncNinja -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 7' -configuration Release | xcpretty --no-color --no-utf -f `xcpretty-travis-formatter`
  - set -o pipefail && xcodebuild build test -project AsyncNinja.xcodeproj -scheme AsyncNinja -sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV 1080p' -configuration Release | xcpretty --no-color --no-utf -f `xcpretty-travis-formatter`
  - swift test --configuration release

language: objective-c
osx_image: xcode8.3
before_install:
  - sudo gem install xcpretty xcpretty-travis-formatter
  - brew install swiftlint
script:
  - set -o pipefail && xcodebuild build test -project AsyncNinja.xcodeproj -scheme AsyncNinja -sdk macosx -configuration Release | xcpretty --no-color --no-utf -f `xcpretty-travis-formatter`
  - set -o pipefail && xcodebuild build test -project AsyncNinja.xcodeproj -scheme AsyncNinja -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 5' -configuration Release | xcpretty --no-color --no-utf -f `xcpretty-travis-formatter`
  - set -o pipefail && xcodebuild build test -project AsyncNinja.xcodeproj -scheme AsyncNinja -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 7' -configuration Release | xcpretty --no-color --no-utf -f `xcpretty-travis-formatter`
  - set -o pipefail && xcodebuild build test -project AsyncNinja.xcodeproj -scheme AsyncNinja -sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV 1080p' -configuration Release | xcpretty --no-color --no-utf -f `xcpretty-travis-formatter`

Revert "Swift Package Manager build added to Travis"
Revert "Swift Package Manager build added to Travis"

This reverts commit 29ac1d39e6417457655ee97cee47c971eadb78ae.
