Always rebase with master when running PRs to make sure latest code is being tested

This commit is contained in:
Jérémie Astori 2017-06-20 01:18:30 -04:00
parent a403dac8ef
commit 211d2e5460
No known key found for this signature in database
GPG Key ID: B9A4F245CD67BDE8

View File

@ -9,6 +9,7 @@ fi
git fetch https://github.com/thelounge/lounge.git refs/pull/${1}/head git fetch https://github.com/thelounge/lounge.git refs/pull/${1}/head
git checkout FETCH_HEAD git checkout FETCH_HEAD
git rebase master
npm install npm install
NODE_ENV=production npm run build NODE_ENV=production npm run build
npm test || true npm test || true