From 5a772ddb439df5e6882f4421a6e0bb70b4739caa Mon Sep 17 00:00:00 2001
From: Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
Date: Mon, 22 Sep 2014 10:54:26 +0200
Subject: [PATCH] Travis: merge install commands

---
 .travis.yml | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 4bb3aa3051..998db18f0c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,16 +17,23 @@ before_install:
     - sudo apt-get update
 
 install:
-    - sudo apt-get install build-essential
-    - sudo apt-get install gcc-multilib
-#TODO: remove the `=4-*` if the stock gcc-arm-none-eabi ships the missing c++ headers (cf. #1656)
-    - sudo apt-get install gcc-arm-none-eabi=4-*
-    - sudo apt-get install gcc-msp430
-    - sudo apt-get install pcregrep libpcre3
-    - sudo apt-get install qemu-system-x86 python3
-    - sudo apt-get install g++-multilib
-    - sudo apt-get install gcc-avr binutils-avr avr-libc
-    - sudo apt-get install cppcheck
+    # TODO: Remove the `=4-*` if the stock gcc-arm-none-eabi ships
+    # the missing c++ headers (cf. #1656)
+    - >
+        sudo apt-get install \
+            build-essential \
+            gcc-multilib \
+            gcc-arm-none-eabi=4-* \
+            gcc-msp430 \
+            pcregrep \
+            libpcre3 \
+            qemu-system-x86 \
+            python3 \
+            g++-multilib \
+            gcc-avr \
+            binutils-avr \
+            avr-libc \
+            cppcheck \
     - git config --global user.email "travis@example.com"
     - git config --global user.name "Travis CI"
 
-- 
GitLab