
matrix:
  include:
    - os: linux
      language: generic
      sudo: required
      dist: trusty
      env:
        - SWIFT_VERSION=4.1
    - os: osx
      language: generic
      sudo: required
      osx_image: xcode9.3beta
      env:
        - SWIFT_VERSION=4.1
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then carthage update --platform iOS,macOS; fi
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
- bundle install
- bundle exec pod repo update --silent
before_script:
- bundle exec danger
script:
- bundle exec rake ci
after_success:
- bundle exec rake deploy_to_integration


matrix:
  include:
    # - os: linux
    #   language: generic
    #   sudo: required
    #   dist: trusty
    #   env:
    #     - SWIFT_VERSION=4.1
    - os: osx
      language: generic
      sudo: required
      osx_image: xcode9.3beta
      env:
        - SWIFT_VERSION=4.1
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then carthage update --platform iOS,macOS; fi
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
- bundle install
- bundle exec pod repo update --silent
before_script:
- bundle exec danger
script:
- bundle exec rake ci
after_success:
- bundle exec rake deploy_to_integration

Comment out linux from the Travis matrix
[linux] Comment out linux from the Travis matrix
