travis: use apt-get -y option instead of GNU yes

The Advanced Packaging Tool has an option to automatically assume Yes to all queries. We don't
need to use GNU yes for this.
This commit is contained in:
Rylai 2013-07-30 14:43:31 -04:00
parent bd695135dc
commit fd13ae24c4

View File

@ -16,7 +16,7 @@ before_script:
# installing libconfig, needed for DHT_bootstrap_daemon
- sudo sed -i 's/precise/quantal/' /etc/apt/sources.list # needed for libconfig-dev
- sudo apt-get update -qq
- yes | sudo apt-get install libconfig-dev
- sudo apt-get -y install libconfig-dev
script:
- mkdir build && cd build