mirror of https://github.com/vacp2p/dasy.git
Update .travis.yml
This commit is contained in:
parent
f59065ffca
commit
7987f60db6
12
.travis.yml
12
.travis.yml
|
@ -8,6 +8,18 @@ install: true
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- make install-linter
|
- make install-linter
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue