before_install:
  - ./bootstrap.sh
sudo: required
language: ruby
rvm:
 - "1.9.3"
 - "2.0"
 - "2.1"
 - "2.2"

script:
   - 'echo $TRAVIS_PULL_REQUEST'
   - 'EXCEPT_DEPLOYED=$(echo $TRAVIS_PULL_REQUEST) bundle exec rspec spec'

before_install:
  - ./bootstrap.sh
sudo: required
language: ruby
rvm:
 - "1.9.3"
 - "2.0"
 - "2.1"
 - "2.2"

script:
   - "export EXCEPT_DEPLOYED=true"
   - "if [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then export EXCEPT_DEPLOYED=false; fi"
   - "bundle exec rspec spec"

Fix exclude deployed test runs
Fix exclude deployed test runs
