Only run test once in verbose mode.
[dabba.git] / .travis.yml
blob3cf47c7cecf78620ff149775b06470f63f8a7a88
1 language: erlang # no C/shell language support; use least-loaded worker(s)
3 # Make sure CMake is installed on target
4 install: sudo apt-get install cmake
6 # Build a release version and get verbose output
7 env:
8   - TEST_OPTS="-v"
10 # Run the Build script
11 script:
12  - mkdir _build
13  - cd _build
14  - cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DCMAKE_BUILD_TYPE=Release $OPTIONS
15  - sudo make install
17 # Run Tests
18 after_script:
19  - ctest --output-on-failure
21 # Only watch the master branch
22 branches:
23   only:
24     - master
26 # Notify the LuaDist Dev group if needed
27 notifications:
28   recipients:
29     - emmanuel.roullit@gmail.com
30   email:
31     on_success: change
32     on_failure: always