Update .travis.yml to use explicit blackfriday version
This commit is contained in:
parent
aeb0e6bf83
commit
1a16d900a0
15
.travis.yml
15
.travis.yml
|
|
@ -3,8 +3,19 @@ language: go
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- mkdir -p "${GOPATH%%:*}/src/github.com/shurcooL/markdownfmt"
|
- export GOPATH_FIRST="${GOPATH%%:*}"
|
||||||
- git clone https://github.com/tianon/markdownfmt.git "${GOPATH%%:*}/src/github.com/shurcooL/markdownfmt"
|
- >
|
||||||
|
git clone
|
||||||
|
--depth 1
|
||||||
|
https://github.com/tianon/markdownfmt.git
|
||||||
|
"$GOPATH_FIRST/src/github.com/shurcooL/markdownfmt"
|
||||||
|
- export BLACKFRIDAY_VERSION="$(awk '$1 == "ENV" && $2 == "BLACKFRIDAY_VERSION" { print $3; exit }' "$GOPATH_FIRST/src/github.com/shurcooL/markdownfmt/Dockerfile")"
|
||||||
|
- >
|
||||||
|
git clone
|
||||||
|
--depth 1
|
||||||
|
-b "$BLACKFRIDAY_VERSION"
|
||||||
|
https://github.com/russross/blackfriday.git
|
||||||
|
"$GOPATH_FIRST/src/github.com/russross/blackfriday"
|
||||||
- go get -v github.com/shurcooL/markdownfmt
|
- go get -v github.com/shurcooL/markdownfmt
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue