Skip to content

Commit

Permalink
Fix exclude deployed test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
tawan committed Feb 6, 2016
1 parent 964b60b commit 923cf9a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ rvm:
- "2.2"

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

0 comments on commit 923cf9a

Please sign in to comment.