From 7644d0522522544b6d50ab4495e6796fa52290ce Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sun, 29 Nov 2020 01:20:49 +0000 Subject: [PATCH] Tools: Trying to get tests to build in dev branch --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 10b3fcb5a..51df72010 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ # Only build tags (Doesn't work - doesn't build anything) -if: tag IS present OR type = pull_request +if: tag IS present OR type = pull_request OR branch = dev rvm: 2.3.3 @@ -65,7 +65,7 @@ script: # Run test units. # Only do it for pull requests because Travis randomly fails to run them # and that would break the desktop release. - if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then + if [ "$TRAVIS_PULL_REQUEST" != "false" ] || [ "$TRAVIS_BRANCH" = "dev" ]; then npm run test-ci testResult=$? if [ $testResult -ne 0 ]; then