ps-allow-to-test-pr-on-synchronize Allow to test PR on synchronize

When new commit is pushed to a target branch, github sends us
synchronize event. We haven't tested this commit, unless head was
changed, but it is a valid use case - when master changes, PR may no
longer pass, so it's good to retest it.

This commit allows to enable such a behavior for a specific repository
slug.

Piotr Sarnacki authored and committed

Push event #2684 errored

  • Ran for
  • Total time
  • New branch build
damienbeaufils/lepanivore-website:.travis.yml@a6e884c
language: node_js

git:
  depth: false

before_script:
  - npm install -g clever-tools

script:
  - bash $TRAVIS_BUILD_DIR/tools/stop-clever-cloud-test-applications.sh

# install:
#   - cd $TRAVIS_BUILD_DIR/back && npm install
#   - cd $TRAVIS_BUILD_DIR/front && npm install
#
# script:
#   - cd $TRAVIS_BUILD_DIR/back && npm test
#   - cd $TRAVIS_BUILD_DIR/front && npm test
#
# before_deploy:
#   - npm install -g clever-tools
#
# deploy:
#   provider: script
#   script: bash $TRAVIS_BUILD_DIR/tools/deploy-to-clever-cloud.sh
#
# after_script:
#   - cd $TRAVIS_BUILD_DIR/back && npm run test:mutation
Build Config
{
  "env": {
    "global": [
      "RUBY_GC_MALLOC_LIMIT=90000000",
      "RUBY_FREE_MIN=200000"
    ]
  },
  "jdk": [
    "oraclejdk7",
    "openjdk6"
  ],
  "rvm": [
    "jruby-19mode"
  ],
  "matrix": {
    "include": [
      {
        "jdk": null,
        "rvm": "1.9.3"
      },
      {
        "jdk": null,
        "rvm": "2.0.0"
      },
      {
        "jdk": null,
        "rvm": "rbx-2.0.0-rc1"
      }
    ],
    "allow_failures": [
      {
        "jdk": null,
        "rvm": "rbx-2.0.0-rc1"
      }
    ]
  },
  "script": [
    "./build.sh"
  ],
  "language": "ruby",
  "services": [
    "redis"
  ],
  "before_script": [
    "sudo service mysql stop",
    "redis-cli config set save \"\"",
    "RAILS_ENV=test rake db:create db:schema:load --trace"
  ],
  "notifications": {
    "irc": "irc.freenode.org#travis"
  }
}