osx_image: xcode8
language: generic
matrix:
  include:
    # - os: osx
    #   sudo: required
    #   env: TYPE=podspec
    - os: osx
      env: NIMBLE_RUNTIME_IOS_SDK_VERSION=10.0 TYPE=ios
    - os: osx
      env: NIMBLE_RUNTIME_TVOS_SDK_VERSION=10.0 TYPE=tvos
    - os: osx
      env: NIMBLE_RUNTIME_OSX_SDK_VERSION=10.10 TYPE=osx
    - os: osx
      env: TYPE=swiftpm
    - os: linux
      dist: trusty
      sudo: required
      env: TYPE=swiftpm
      install:
        - eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)"
install:
  - if [[ "$TYPE" == "podspec" ]]; then sudo gem install bundler; bundle install; fi
script:
  - ./test $TYPE

osx_image: xcode8
language: generic
matrix:
  include:
    # - os: osx
    #   sudo: required
    #   env: TYPE=podspec
    - os: osx
      env: NIMBLE_RUNTIME_IOS_SDK_VERSION=10.0 TYPE=ios
    - os: osx
      env: NIMBLE_RUNTIME_TVOS_SDK_VERSION=10.0 TYPE=tvos
    - os: osx
      env: NIMBLE_RUNTIME_OSX_SDK_VERSION=10.10 TYPE=osx
    - os: osx
      env: TYPE=swiftpm
    - os: linux
      dist: trusty
      sudo: required
      env: TYPE=swiftpm
      install:
        - eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
install:
  - if [[ "$TYPE" == "podspec" ]]; then sudo gem install bundler; bundle install; fi
script:
  - ./test $TYPE

Update install script of swiftenv
Update install script of swiftenv
