osx_image: xcode8.3
language: objective-c
cache:
  - bundler
  - cocoapods

rvm: 2.3.1
before_install:
  - gem uninstall cocoapods -a
  - gem install cocoapods -v 1.2.0 # Since Travis is not always on latest version
  - gem install xcpretty
  - pod install --project-directory=Example --repo-update

script:
  - ./test.sh
  - pod lib lint FirebaseDev.podspec
