mirror of
https://github.com/vacp2p/dasy.git
synced 2026-01-08 22:37:59 -05:00
Update .travis.yml
This commit is contained in:
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user