openh264/.travis.yml
Martin Storsjö ab866bef09 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.
2014-07-03 10:43:15 +03:00

16 lines
472 B
YAML

language: cpp
compiler:
- g++
- clang
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq nasm g++-4.6-multilib gcc-multilib libc6-dev-i386
install:
- make gmp-bootstrap
- make gtest-bootstrap
script:
- 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