shithub: openh264

Download patch

ref: ab866bef099d3be3261fd8556f12b0f334581cc6
parent: b9de87ea5dd00c691d9c7a56d2d5bd63afe734d2
author: Martin Storsjö <[email protected]>
date: Thu Jul 3 05:44:26 EDT 2014

Simplify the travis configuration, reduce duplicated rebuilds

The -B make option rebuilds everything from scratch - thus a "make -B",
"make -B test" sequence would first build everything from scratch, then
rebuild (almost) everything and run the tests.

The previous sequence, with "make -B test" without specifying
BUILDTYPE=Debug, meant that it rebuilt a new release build instead
and tested that, thus never actually testing the debug build.

This should reduce the time used for compilation in travis runs
to less than half.

Also explicitly specify BUILDTYPE=Release, for clarity.

--- a/.travis.yml
+++ b/.travis.yml
@@ -9,15 +9,7 @@
   - make gmp-bootstrap
   - make gtest-bootstrap
 script:
-  - make -B ENABLE64BIT=Yes
-  - make -B ENABLE64BIT=Yes plugin
-  - make -B ENABLE64BIT=Yes test
-  - make -B ENABLE64BIT=Yes BUILDTYPE=Debug
-  - make -B ENABLE64BIT=Yes BUILDTYPE=Debug plugin
-  - make -B ENABLE64BIT=Yes test
-  - make -B ENABLE64BIT=No
-  - make -B ENABLE64BIT=No plugin
-  - make -B ENABLE64BIT=No test
-  - make -B ENABLE64BIT=No BUILDTYPE=Debug
-  - make -B ENABLE64BIT=No BUILDTYPE=Debug plugin
-  - make -B ENABLE64BIT=No test
+  - make -B ENABLE64BIT=Yes BUILDTYPE=Release all plugin test
+  - make -B ENABLE64BIT=Yes BUILDTYPE=Debug all plugin test
+  - make -B ENABLE64BIT=No BUILDTYPE=Release all plugin test
+  - make -B ENABLE64BIT=No BUILDTYPE=Debug all plugin test