btrfs-progs: tests: build preparation phases out of script section
authorDavid Sterba <dsterba@suse.com>
Tue, 29 Aug 2017 14:16:44 +0000 (16:16 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 8 Sep 2017 14:15:05 +0000 (16:15 +0200)
The logs of before_install are folded and we don't need to see the
details, unlike the test logs.

Signed-off-by: David Sterba <dsterba@suse.com>
.travis.yml

index b5cc7fe..bc2c1a5 100644 (file)
@@ -49,6 +49,17 @@ before_install:
   - sudo apt-get update -qq
   - sudo apt-get install -qq e2fslibs-dev gcc libacl1-dev libblkid-dev liblzo2-dev make pkg-config udev zlib1g-dev
   - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
+  - "mkdir tmp-reiser;
+     cd tmp-reiser;
+     wget https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v3.6.27/reiserfsprogs-3.6.27.tar.xz;
+     tar xf reiserfsprogs-3.6.27.tar.xz;
+     cd reiserfsprogs-3.6.27;
+     ./configure --prefix=/usr;
+     make all;
+     sudo make install;
+     cd ../..
+    "
+  - "./autogen.sh && ./configure --disable-documentation && make"
 
 addons:
   coverity_scan:
@@ -61,17 +72,6 @@ addons:
     branch_pattern: coverity_scan
 
 script:
-  - "mkdir tmp-reiser;
-     cd tmp-reiser;
-     wget https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v3.6.27/reiserfsprogs-3.6.27.tar.xz;
-     tar xf reiserfsprogs-3.6.27.tar.xz;
-     cd reiserfsprogs-3.6.27;
-     ./configure --prefix=/usr;
-     make all;
-     sudo make install;
-     cd ../..
-    "
-  - "./autogen.sh && ./configure --disable-documentation && make"
   - "if ./travis-should-run-test; then make TEST_LOG=dump test-cli; fi"
   - "if ./travis-should-run-test; then make TEST_LOG=dump test-mkfs; fi"
   - "if ./travis-should-run-test; then make TEST_LOG=dump test-check; fi"