Added --version option to get dabbad version info.
[dabba.git] / .travis.yml
blob8838ef95c2b83d95856c0319b4cde8ba57cf0f60
1 language: c
3 # Run tests on tools compiled with gcc and clang
4 compiler:
5   - gcc
6   - clang
8 # Make sure CMake is installed on target
9 install: sudo apt-get install cmake
11 # Build a release version and get verbose output
12 env:
13   - TEST_OPTS="-v"
15 # Run the Build script
16 script:
17  - mkdir _build
18  - cd _build
19  - cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DCMAKE_BUILD_TYPE=Release $OPTIONS
20  - sudo make install
22 # Run Tests
23 after_script:
24  - sudo ctest --output-on-failure
26 # Only watch the master branch
27 branches:
28   only:
29     - master
31 # Notify the LuaDist Dev group if needed
32 notifications:
33   recipients:
34     - emmanuel.roullit@gmail.com
35   email:
36     on_success: change
37     on_failure: always