language: objective-c
osx_image: xcode7.2
env:
  global:
    - CONFIG=opt
    - TEST=objc
    - JOBS=1
before_install:
  - gem install cocoapods -v '1.0.0.beta.4'
  - brew install gflags
  # Pod install does this too, but we don't want the output.
  - pod repo update --silent
install:
  - make grpc_objective_c_plugin
  - pushd src/objective-c/tests
  # Needs to be verbose, or otherwise OpenSSL's prepare_command makes Travis
  # time out:
  - pod --version
  - pod install --verbose
  - popd
before_script:
  - make interop_server
  - bins/$CONFIG/interop_server --port=5050 &
  - bins/$CONFIG/interop_server --port=5051 --use_tls &
xcode_workspace: src/objective-c/tests/Tests.xcworkspace
xcode_scheme:
  - RxLibraryUnitTests
  - InteropTestsLocalSSL
  - InteropTestsLocalCleartext
  # TODO(jcanizales): Investigate why they time out:
  # - InteropTestsRemote
xcode_sdk: iphonesimulator9.2
notifications:
  email: false

language: objective-c
osx_image: xcode7.2
env:
  global:
    - CONFIG=opt
    - TEST=objc
    - JOBS=1
before_install:
  - gem install cocoapods -v '1.0.0'
  - brew install gflags
  # Pod install does this too, but we don't want the output.
  - pod repo update --silent
install:
  - make grpc_objective_c_plugin
  - pushd src/objective-c/tests
  # Needs to be verbose, or otherwise OpenSSL's prepare_command makes Travis
  # time out:
  - pod --version
  - pod install --verbose
  - popd
before_script:
  - make interop_server
  - bins/$CONFIG/interop_server --port=5050 &
  - bins/$CONFIG/interop_server --port=5051 --use_tls &
xcode_workspace: src/objective-c/tests/Tests.xcworkspace
xcode_scheme:
  - RxLibraryUnitTests
  - InteropTestsLocalSSL
  - InteropTestsLocalCleartext
  # TODO(jcanizales): Investigate why they time out:
  # - InteropTestsRemote
xcode_sdk: iphonesimulator9.2
notifications:
  email: false

Install Cocoapods 1.0.0 now that it’s released
Install Cocoapods 1.0.0 now that it’s released