language: c
sudo: true

install:
  # Install the Criterion unit testing framework
  - cd ${TRAVIS_BUILD_DIR}
  - cd dependencies/criterion/
  - cmake .
  - make
  - sudo make install
  - sudo ldconfig

script:
  - cd ${TRAVIS_BUILD_DIR}
  - mkdir build
  - cd build
  - cmake -G "Unix Makefiles" ..
  - make

language: c
sudo: true

install:
  # Install the Criterion unit testing framework
  - cd ${TRAVIS_BUILD_DIR}
  - cd dependencies/criterion/
  - cmake .
  - make
  - sudo make install
  - sudo ldconfig

script:
  - cd ${TRAVIS_BUILD_DIR}
  - mkdir build
  - cd build
  - cmake ..
  - cmake --build .
  - ctest

Modify Travis build steps to include ctest
Modify Travis build steps to include ctest

Add ctest and made the other steps more general. Calling the platform independent `cmake --build .` instead of `make`.
