language: objective-c
cache: cocoapods
install: pod install || pod install --repo-update

xcode_workspace: Swindler.xcworkspace
xcode_scheme: Swindler

script: xcodebuild -workspace Swindler.xcworkspace -scheme Swindler build test

deploy:
  - provider: script
    script: bash .scripts/update-gh-pages.sh
    skip_cleanup: true
    on:
        all_branches: true
        condition: '"$TRAVIS_BRANCH" == "master" || "$TRAVIS_TAG" != ""'

language: objective-c
cache: cocoapods
install: pod install || pod install --repo-update

xcode_workspace: Swindler.xcworkspace
xcode_scheme: Swindler

script:
  - xcodebuild -workspace Swindler.xcworkspace -scheme Swindler build test
  - xcodebuild -workspace Swindler.xcworkspace -scheme SwindlerExample build

deploy:
  - provider: script
    script: bash .scripts/update-gh-pages.sh
    skip_cleanup: true
    on:
        all_branches: true
        condition: '"$TRAVIS_BRANCH" == "master" || "$TRAVIS_TAG" != ""'

Build example project in Travis
Build example project in Travis
