mirror of
https://github.com/AtHeartEngineer/sss.git
synced 2026-01-09 12:47:57 -05:00
travis: add new configuration
This commit enables travis-ci on linux and osx with memory checking only enabled on linux.
This commit is contained in:
@@ -5,3 +5,7 @@ indent_size = 8
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
indent_size = 8
|
||||
|
||||
[*.yml]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
18
.travis.yml
Normal file
18
.travis.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
language: c
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
compiler:
|
||||
- clang
|
||||
- gcc
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- valgrind
|
||||
|
||||
script:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export MEMCHECK="valgrind -q --leak-check=full --error-exitcode=1"; fi
|
||||
- make && make test
|
||||
Reference in New Issue
Block a user