Просмотр исходного кода

ci(travis): Limit cross docker-sentry builds to master (#13890)

Burak Yigit Kaya 5 лет назад
Родитель
Сommit
fe9828aee7
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      .travis.yml

+ 1 - 0
.travis.yml

@@ -64,6 +64,7 @@ after_script:
   - zeus upload -t "application/webpack-stats+json" .artifacts/*webpack-stats.json
   - zeus upload -t "application/webpack-stats+json" .artifacts/*webpack-stats.json
   # Trigger a build for the `git` image on docker-sentry
   # Trigger a build for the `git` image on docker-sentry
   - >
   - >
+      if [ "$TRAVIS_PULL_REQUEST" == "false" -a "$TRAVIS_BRANCH" == "master" ]; then
       curl -s -X POST
       curl -s -X POST
       -H "Content-Type: application/json"
       -H "Content-Type: application/json"
       -H "Accept: application/json"
       -H "Accept: application/json"