Revert "Update travis config file to rebase on master before test running"

This reverts commit bd99a90faa.

While this is common in cockpit's projects, osbuild projects refrain
from rebasing branches.

Rebasing on master as it happens to be when the test is running, leaves
you in a state where you neither know that the branch itself is working,
nor that it will work when you actually do merge it later, because
master might have changed in between.
This commit is contained in:
Sanne Raymaekers 2020-11-11 10:44:47 +01:00 committed by Alexander Todorov
parent bd99a90faa
commit 7f6f828b56

View file

@ -7,14 +7,6 @@ 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: