Skip to content

Commit

Permalink
Ignore network errors when updating package list on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Oct 30, 2019
1 parent 743cd40 commit bfc91b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -22,7 +22,8 @@ env:
- LOGIN=username:password@localhost

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

0 comments on commit bfc91b7

Please sign in to comment.