summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJosé González <Deku@users.noreply.github.com>2019-01-16 16:10:08 -0300
committerGitHub <noreply@github.com>2019-01-16 16:10:08 -0300
commit7599624fdffc168825ecda2d888ed8a514186818 (patch)
tree01fd9c714331d5bc2d199bbc3aa513f5a11baa7b /.travis.yml
parentb9d14372fd1139423d9be8d2952f2249f93c8d83 (diff)
[CI] Make Travis only import pending sql from master branch (#1297)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index f2bbd4f241..179fe79ff3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,7 +20,7 @@ before_install:
- git config user.email "travis@build.bot" && git config user.name "Travis CI"
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then cd bin/; fi
# import pending sql
- - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash acore-db-pendings; fi
+ - if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then bash acore-db-pendings; fi
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then cd ..; fi
# push changes to git if any
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then git fetch --unshallow; fi