diff --git a/.travis.yml b/.travis.yml index d19644d..28922a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,15 @@ -language: c - -sudo: required +os: linux +sudo: false dist: trusty - -before_install: - - sudo apt-get -qq update - - sudo apt-get install libsndfile1-dev - +language: c +compiler: gcc-7 +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-7 + - libsndfile1-dev script: - autoreconf -i - ./configure diff --git a/README.md b/README.md index 4740a57..23ace4d 100644 --- a/README.md +++ b/README.md @@ -14,18 +14,17 @@ make sudo make install ``` -When building from the cloned git repository (instead of a downloaded release), -run `autoreconf -i` to create the missing *configure* script. - -An optional example can be enabled enabled by `./configure --enable-examples`. -This requires libsndfile (http://www.mega-nerd.com/libsndfile/, e.g. -`apt install libsndfile1-dev`). + - When building from the cloned git repository (instead of a downloaded release), + run `autoreconf -i` to create the missing *configure* script. + - An optional example can be enabled enabled by `./configure --enable-examples`. + This requires libsndfile (http://www.mega-nerd.com/libsndfile/, e.g. + `apt install libsndfile1-dev`). ## Usage ## The API is documented in the `include/fvad.h` header file. See also `examples/fvadwav.h`. -## Development Notes ## +## Development notes ## Recommended CFLAGS to turn on warnings: `-std=c11 -Wall -Wextra -Wpedantic`. Tests can be run with `make check`.