diff --git a/.travis.yml b/.travis.yml index bd40151aaf..479af370e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,10 @@ node_js: - '0.12' - '4' before_install: -# Get a master branch for conventional-changelog-lint +# Create a master branch for conventional-changelog-lint - git remote set-branches origin master && git fetch +- git checkout master +- git checkout - - npm install -g npm script: COVERAGE=y npm test && npm run lint-commit-msg after_script: npm run publish-coverage