File: .travis.yml

package info (click to toggle)
editorconfig-core 0.11.5-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 508 kB
  • ctags: 137
  • sloc: ansic: 1,227; makefile: 46; sh: 9
file content (28 lines) | stat: -rw-r--r-- 629 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# As CMake is not officially supported we use java
language: java

# Settings to try
env:
 - OPTIONS="-DCMAKE_BUILD_TYPE=Release -DBUILD_STATICALLY_LINKED_EXE=ON"
 - OPTIONS="-DCMAKE_BUILD_TYPE=Release -DBUILD_STATICALLY_LINKED_EXE=OFF"

# Make sure CMake and doxygen is installed
install:
 - sudo apt-get install cmake

# Run the Build script
script:
 - mkdir _build
 - cd _build
 - cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
 - cmake --build . --target install

# Run Tests
after_script:
 - ctest -VV --output-on-failure .

# Notify the mailing list
notifications:
 email:
   on_success: change
   on_failure: always