Merge pull request #1385 from freqtrade/feat/improve_travis
Add commit and message to container
This commit is contained in:
commit
616ca0237e
@ -4,6 +4,9 @@
|
|||||||
TAG=$(echo "${TRAVIS_BRANCH}" | sed -e "s/\//_/")
|
TAG=$(echo "${TRAVIS_BRANCH}" | sed -e "s/\//_/")
|
||||||
|
|
||||||
|
|
||||||
|
# Add commit and commit_message to docker container
|
||||||
|
echo "${TRAVIS_COMMIT} ${TRAVIS_COMMIT_MESSAGE}" > freqtrade_commit
|
||||||
|
|
||||||
if [ "${TRAVIS_EVENT_TYPE}" = "cron" ]; then
|
if [ "${TRAVIS_EVENT_TYPE}" = "cron" ]; then
|
||||||
echo "event ${TRAVIS_EVENT_TYPE}: full rebuild - skipping cache"
|
echo "event ${TRAVIS_EVENT_TYPE}: full rebuild - skipping cache"
|
||||||
docker build -t freqtrade:${TAG} .
|
docker build -t freqtrade:${TAG} .
|
||||||
|
Loading…
Reference in New Issue
Block a user