try 2 to fix travis build

pull/326/head
Thorsten von Eicken 8 years ago
parent 5b7e1a9d8d
commit 1c79a91cbb
No known key found for this signature in database
GPG Key ID: C7F972A59D834B46
  1. 1
      .travis.yml
  2. 3
      Makefile

@ -25,6 +25,7 @@ script:
- export XTENSA_TOOLS_ROOT=$PWD/xtensa-lx106-elf/bin/ - export XTENSA_TOOLS_ROOT=$PWD/xtensa-lx106-elf/bin/
- export BRANCH=$TRAVIS_BRANCH - export BRANCH=$TRAVIS_BRANCH
#- export SDK_BASE=$PWD/esp_iot_sdk_v2.0.0.p1 #- export SDK_BASE=$PWD/esp_iot_sdk_v2.0.0.p1
- git tags -n
- make release - make release
notifications: notifications:

@ -191,7 +191,7 @@ TRAVIS_BRANCH?=$(shell git symbolic-ref --short HEAD --quiet)
# Use git describe to get the latest version tag, commits since then, sha and dirty flag, this # Use git describe to get the latest version tag, commits since then, sha and dirty flag, this
# results is something like "v1.2.0-13-ab6cedf-dirty" # results is something like "v1.2.0-13-ab6cedf-dirty"
NO_TAG ?= "no-tag" NO_TAG ?= "no-tag"
VERSION := $(shell (git describe --tags --match 'v*' --long --dirty || echo $(NO_TAG)) | sed -re 's/(\.0)?-/./') VERSION := $(shell (git describe --tags --match 'v*.0' --long --dirty || echo $(NO_TAG)) | sed -re 's/(\.0)?-/./')
# If not on master then insert the branch name # If not on master then insert the branch name
ifneq ($(TRAVIS_BRANCH),master) ifneq ($(TRAVIS_BRANCH),master)
ifneq ($(findstring V%,$(TRAVIS_BRANCH)),) ifneq ($(findstring V%,$(TRAVIS_BRANCH)),)
@ -200,7 +200,6 @@ endif
endif endif
VERSION :=$(VERSION) VERSION :=$(VERSION)
$(info VERSION is $(VERSION)) $(info VERSION is $(VERSION))
$(info GIT TAGS is $(shell git tag -n))
# Output directors to store intermediate compiled files # Output directors to store intermediate compiled files
# relative to the project directory # relative to the project directory

Loading…
Cancel
Save