Skip to content

Commit bfc91b7

Browse files
committed
Ignore network errors when updating package list on Travis CI
1 parent 743cd40 commit bfc91b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ env:
2222
- LOGIN=username:password@localhost
2323

2424
install:
25-
- sudo apt-get -qq update && sudo apt-get --no-install-recommends -qq install -y asterisk
25+
- sudo apt-get -qq update || true # update package list and ignore temporary network errors
26+
- sudo apt-get --no-install-recommends -qq install -y asterisk
2627
- sudo cp tests/username.conf /etc/asterisk/manager.d/username.conf
2728
- sudo /etc/init.d/asterisk reload
2829
- composer install --no-interaction

0 commit comments

Comments
 (0)