Skip to content

Don't run travis builds on PRs #114

@tuxcanfly

Description

@tuxcanfly

Currently travis builds require secret env variables which are not accessible when running PR builds. So, it's better to turn off travis for PRs.

As per

http://docs.travis-ci.com/user/pull-requests/#Security-Restrictions-when-testing-Pull-Requests here's a snippet that does this:

script:
  - '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && bundle exec rake tests:integration || false'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions