language: objective-c
osx_image: xcode8
script:
  - cd SampleProject && bundle exec fastlane test
after_script:
  - pod lib lint
env:
  global:
  # - APPNAME="___PACKAGENAME___"  # Put your app name here.
  ################## Predefined environment variables for Fastlane ##################
  # folder containing all fastlane files
  - FASTLANE_FOLDER="fastlane"
  # folder name for builds, relative to FASTLANE_FOLDER
  - BUILD_FOLDER="Build"
branches:
  except:
    - /^[^\/]+\/\d+(?:\.\d+)+\/\d+$/ # This makes travis ignore triggers from pushes from tagging builds of format builds/x.y.z/vvvv
git:
  depth: 10000  # For the auto-incrementing build number script to work, we need to clone with a basically-infinite depth.
cache:
  - bundler  # After main-repo builds, save the "bundler" (local Ruby gems) stuff to cache for future builds.

language: objective-c
osx_image: xcode8
before_script:
  - bundle install
script:
  - cd SampleProject && bundle exec fastlane test
after_script:
  - pod lib lint
env:
  global:
  # - APPNAME="___PACKAGENAME___"  # Put your app name here.
  ################## Predefined environment variables for Fastlane ##################
  # folder containing all fastlane files
  - FASTLANE_FOLDER="fastlane"
  # folder name for builds, relative to FASTLANE_FOLDER
  - BUILD_FOLDER="Build"
branches:
  except:
    - /^[^\/]+\/\d+(?:\.\d+)+\/\d+$/ # This makes travis ignore triggers from pushes from tagging builds of format builds/x.y.z/vvvv
git:
  depth: 10000  # For the auto-incrementing build number script to work, we need to clone with a basically-infinite depth.
cache:
  - bundler  # After main-repo builds, save the "bundler" (local Ruby gems) stuff to cache for future builds.

Install gems before running tests
Install gems before running tests
