mirror of
https://github.com/vacp2p/mvds.git
synced 2026-01-08 22:27:55 -05:00
Update .travis.yml (#80)
* Update .travis.yml * Update .travis.yml Co-Authored-By: Adam Babik <adam@status.im>
This commit is contained in:
12
.travis.yml
12
.travis.yml
@@ -5,6 +5,18 @@ language: go
|
|||||||
|
|
||||||
install: true
|
install: true
|
||||||
|
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- |
|
||||||
|
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(.md)|(.html)|^(LICENSE)|^(docs)'
|
||||||
|
then
|
||||||
|
echo "Only docs were updated, not running the CI."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user