chore(travis): group before_script

This commit is contained in:
joneff 2018-01-12 11:49:33 +02:00 коммит произвёл Иван Жеков
Родитель 0db6c7951c
Коммит 5fa85429de
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -26,6 +26,8 @@ before_install:
before_script: before_script:
- git fetch --unshallow origin refs/heads/master:refs/remotes/origin/master - git fetch --unshallow origin refs/heads/master:refs/remotes/origin/master
- npm prune - npm prune
- "sudo chown root /opt/google/chrome/chrome-sandbox"
- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
after_success: after_success:
- npm run semantic-release - npm run semantic-release
branches: branches:
@ -33,6 +35,3 @@ branches:
- "/^v\\d+\\.\\d+\\.\\d+(\\-.*)?$/" - "/^v\\d+\\.\\d+\\.\\d+(\\-.*)?$/"
# Work around Travis failures # Work around Travis failures
dist: trusty dist: trusty
before_script:
- "sudo chown root /opt/google/chrome/chrome-sandbox"
- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"