Update travis config file to rebase on master before test running
This commit is contained in:
parent
abb3bbc868
commit
bd99a90faa
1 changed files with 8 additions and 0 deletions
|
|
@ -7,6 +7,14 @@ node_js:
|
|||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
before_install:
|
||||
- |
|
||||
git config --global user.email "travis@image-builder.frontend"
|
||||
git config --global user.name "Travis CI"
|
||||
git remote add image-builder-frontend https://github.com/${TRAVIS_REPO_SLUG}.git
|
||||
git fetch image-builder-frontend $TRAVIS_BRANCH
|
||||
git log -1 --pretty=format:%H image-builder-frontend/${TRAVIS_BRANCH}
|
||||
git rebase image-builder-frontend/${TRAVIS_BRANCH}
|
||||
install:
|
||||
- npm install
|
||||
script:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue