Skip to content

Commit

Permalink
fix if make
Browse files Browse the repository at this point in the history
  • Loading branch information
rienafairefr committed Mar 25, 2018
1 parent 45f714d commit 79f7a6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ docs-build-deploy:
test:
set -ev
tox
if [[ $(TRAVIS_EVENT_TYPE) = "cron" || $(TRAVIS_COMMIT_MESSAGE) = *"[ci-cron]"* ]]; then
if [ "$(TRAVIS_EVENT_TYPE)" -eq "cron" -o "$(TRAVIS_COMMIT_MESSAGE)" -eq *"[ci-cron]"* ]; then
tox -e test_live;
fi
if [ -n "$(TRAVIS_TAG)" ]; then
if [ $(TAG_NAME) != $(TRAVIS_TAG) ]; then
if [ "$(TAG_NAME)" -ne "$(TRAVIS_TAG)" ]; then
echo "This tag is for the wrong version. Got \"$(TRAVIS_TAG)\" expected \"$(TAG_NAME)\".";
exit 1;
fi
Expand Down

0 comments on commit 79f7a6e

Please sign in to comment.