From 7599624fdffc168825ecda2d888ed8a514186818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Gonz=C3=A1lez?= Date: Wed, 16 Jan 2019 16:10:08 -0300 Subject: [PATCH] [CI] Make Travis only import pending sql from master branch (#1297) --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f2bbd4f24..179fe79ff 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