Remove format-source from travis script.

This test is already performed by `make test` later on. We originally
had it in the Travis script to make it fail fast when the format is
wrong, but there is also some value in running all tests despite format
errors.

Fixes #83. There are no more relevant phases that would benefit from the
padding lines proposed.
This commit is contained in:
iphydf 2016-09-13 22:22:42 +01:00
parent d1f16e27b8
commit c0d84ab489
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -3,10 +3,6 @@
set -e -u -x set -e -u -x
. other/travis/env-$ENV.sh . other/travis/env-$ENV.sh
# Check if the code is formatted according to the astyle configuration.
other/astyle/format-source
git diff --exit-code
# Build toxcore and run tests. # Build toxcore and run tests.
export CFLAGS="-O3 -fprofile-arcs -ftest-coverage -DTRAVIS_ENV=1" export CFLAGS="-O3 -fprofile-arcs -ftest-coverage -DTRAVIS_ENV=1"
# TODO(iphydf): Enable ASAN. It currently has some bad interactions with gcov, # TODO(iphydf): Enable ASAN. It currently has some bad interactions with gcov,