Fix potential NULL deref and other minor changes
[libstring.git] / .travis.yml
blob8916dbe23e0548646688655c6dee311ceab49427
1 language: C
2 compiler: gcc
3 os: linux
4 addons:
5   apt:
6     update: true
7     packages:
8       - valgrind
9 before-install:
10   - sudo add-apt-repository -y ppa:snaipewastaken/ppa
11   - sudo apt-get -q update
12   - sudo apt-get install -y criterion-dev
13 script:
14   - gcc -o unittests test/tests.c src/libstring.c -lcriterion
15   - valgrind --leak-check=full --error-exitcode=23 ./unittests