From 5fa85429debc770eea55c370388232ce5d29a14e Mon Sep 17 00:00:00 2001 From: joneff Date: Fri, 12 Jan 2018 11:49:33 +0200 Subject: [PATCH] chore(travis): group before_script --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6e68218..2022f8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,8 @@ before_install: before_script: - git fetch --unshallow origin refs/heads/master:refs/remotes/origin/master - npm prune + - "sudo chown root /opt/google/chrome/chrome-sandbox" + - "sudo chmod 4755 /opt/google/chrome/chrome-sandbox" after_success: - npm run semantic-release branches: @@ -33,6 +35,3 @@ branches: - "/^v\\d+\\.\\d+\\.\\d+(\\-.*)?$/" # Work around Travis failures dist: trusty -before_script: - - "sudo chown root /opt/google/chrome/chrome-sandbox" - - "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"