8000 [ci] improve travis.yml: use white list variable · daniel4git/github-cheat-sheet@b6818ae · GitHub
[go: up one dir, main page]

Skip to content

Commit b6818ae

Browse files
authored
[ci] improve travis.yml: use white list variable
1 parent 2be1795 commit b6818ae

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.travis.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ before_script:
77
- gem install awesome_bot
88

99
script:
10-
- awesome_bot README.md --allow-dupe --allow-redirect --white-list https://github.com/rails/rails/compare/master@,http://git.io/abc123,https://github.com/..,youtube,chrome.google.com/webstore,https://github.com/mathiasbynens/dotfiles/blob/master/.gitconfig*,https://github.com/user/repo/compare/
11-
- awesome_bot README.ko.md --allow-dupe --allow-redirect --white-list https://github.com/rails/rails/compare/master@,http://git.io/abc123,https://github.com/..,youtube,chrome.google.com/webstore,https://github.com/mathiasbynens/dotfiles/blob/master/.gitconfig*,https://github.com/user/repo/compare/
12-
- awesome_bot README.ja.md --allow-dupe --allow-redirect --white-list https://github.com/rails/rails/compare/master@,http://git.io/abc123,https://github.com/..,youtube,chrome.google.com/webstore,https://github.com/mathiasbynens/dotfiles/blob/master/.gitconfig*,https://github.com/user/repo/compare/
13-
- awesome_bot README.zh-cn.md --allow-dupe --allow-redirect --white-list https://github.com/rails/rails/compare/master@,http://git.io/abc123,https://github.com/..,youtube,chrome.google.com/webstore,https://github.com/mathiasbynens/dotfiles/blob/master/.gitconfig*,https://github.com/user/repo/compare/
14-
- awesome_bot README.zh-tw.md --allow-dupe --allow-redirect --white-list https://github.com/rails/rails/compare/master@,http://git.io/abc123,https://github.com/..,youtube,chrome.google.com/webstore,https://github.com/mathiasbynens/dotfiles/blob/master/.gitconfig*,https://github.com/user/repo/compare/
10+
- wl=https://github.com/rails/rails/compare/master@,http://git.io/abc123,https://github.com/..,youtube,chrome.google.com/webstore,https://github.com/mathiasbynens/dotfiles/blob/master/.gitconfig*,https://github.com/user/repo/compare/
11+
- awesome_bot README.md --allow-dupe --allow-redirect --white-list $wl
12+
- awesome_bot README.ko.md --allow-dupe --allow-redirect --white-list $wl
13+
- awesome_bot README.ja.md --allow-dupe --allow-redirect --white-list $wl
14+
- awesome_bot README.zh-cn.md --allow-dupe --allow-redirect --white-list $wl
15+
- awesome_bot README.zh-tw.md --allow-dupe --allow-redirect --white-list $wl

0 commit comments

Comments
 (0)
0