language: objective-c

git:
    submodules: false
# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install:
    - sed -i '' 's/git@github.com:/https:\/\/github.com\//' .gitmodules
    - git submodule update --init --recursive
install:
    - gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
    - xcodebuild test -workspace Dalton.xcworkspace -scheme 'Dalton Example' -sdk macosx ONLY_ACTIVE_ARCH=NO | xcpretty -c

language: objective-c

git:
    submodules: false
# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install:
    - sed -i '' 's/git@github.com:/https:\/\/github.com\//' .gitmodules
    - git submodule update --init --recursive
install:
    - gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
    - set -o pipefail && xcodebuild test -workspace Dalton.xcworkspace -scheme 'Dalton Example' -sdk macosx ONLY_ACTIVE_ARCH=NO | xcpretty -c
    - pod lib lint --quick

Test podspec when building on Travis
Test podspec when building on Travis
