language: generic
matrix:
  include:
    - script:
        - set -o pipefail && script/cibuild | xcpretty
        - pod lib lint SwiftLintFramework.podspec
      env: JOB=Xcode
      os: osx
      osx_image: xcode8.3
      before_install:
        - pod repo update
    - script: swift test
      env: JOB=SPM
      os: osx
      osx_image: xcode8.3
    - script: make docker_test
      env: JOB=Linux3.1
      sudo: required
      services: docker
    - script: set -o pipefail && script/cibuild | xcpretty
      env: JOB=Xcode9
      os: osx
      osx_image: xcode9
notifications:
  email: false
  slack: realmio:vPdpsG9NLDo2DNlbqtcMAQuE
after_success:
  - bash <(curl -s https://codecov.io/bash)

language: generic
matrix:
  include:
    - script:
        - set -o pipefail && script/cibuild | xcpretty
        - pod lib lint SwiftLintFramework.podspec
      env: JOB=Xcode
      os: osx
      osx_image: xcode8.3
      before_install:
        - pod repo update
    - script: swift test
      env: JOB=SPM
      os: osx
      osx_image: xcode8.3
    - script: swift test
      env: JOB=SPM-Swift4
      os: osx
      osx_image: xcode9
    - script: make docker_test
      env: JOB=Linux3.1
      sudo: required
      services: docker
    - script: make docker_test_4
      env: JOB=Linux4.0
      sudo: required
      services: docker
    - script: set -o pipefail && script/cibuild | xcpretty
      env: JOB=Xcode9
      os: osx
      osx_image: xcode9
notifications:
  email: false
  slack: realmio:vPdpsG9NLDo2DNlbqtcMAQuE
after_success:
  - bash <(curl -s https://codecov.io/bash)

Add Swift 4 CI jobs for SPM on macOS & Linux
Add Swift 4 CI jobs for SPM on macOS & Linux
