Sfoglia il codice sorgente

Fix Travis not finding !ProtoCompiler-gRPC.podspec

Jorge Canizales 9 anni fa
parent
commit
76628706ac
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      .travis.yml

+ 3 - 0
.travis.yml

@@ -34,10 +34,13 @@ env:
       TEST_PATH="src/objective-c/examples/SwiftSample" BUILD_ONLY="true"
       INTEROP_SERVER="false"
 before_install:
+  # Until Travis upgrades from Cocoapods 0.39, we need to do it here.
   - pod --version
   - gem uninstall cocoapods -a
   - gem install cocoapods -v '1.0.1'
   - pod --version
+  # Recent pods aren't found if we don't explicitly update Cocoapods' repo.
+  - pod repo update
   - brew install gflags
 install:
   - pushd $TEST_PATH