From 4d1467eee2aa256e1f2df06fc10cc8f8303405d6 Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 16 Apr 2018 22:33:14 +0200 Subject: [PATCH] Enable travis tests on develop branch. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 539e6088e..e9d2dde6b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -159,8 +159,8 @@ cache: install: - test $SOLC_INSTALL_DEPS_TRAVIS != On || (scripts/install_deps.sh) - test "$TRAVIS_OS_NAME" != "linux" || (scripts/install_cmake.sh) -# - if [ "$TRAVIS_BRANCH" != release -a -z "$TRAVIS_TAG" ]; then SOLC_TESTS=Off; fi - - SOLC_TESTS=Off + # Disable tests unless run on the release branch, on tags or with daily cron + - if [ "$TRAVIS_BRANCH" != release -a -z "$TRAVIS_TAG" -a "$TRAVIS_EVENT_TYPE" != cron ]; then SOLC_TESTS=Off; fi - if [ "$TRAVIS_BRANCH" = release -o -n "$TRAVIS_TAG" ]; then echo -n > prerelease.txt; else date -u +"nightly.%Y.%-m.%-d" > prerelease.txt; fi - echo -n "$TRAVIS_COMMIT" > commit_hash.txt