forked from varnamproject/libvarnam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
21 lines (21 loc) · 848 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: c
before_install:
- mkdir -p ~/.local/share/varnam/suggestions
- ruby --version
- sudo apt-get install libgemplugin-ruby
- sudo apt-get install check
- sudo apt-get install valgrind
- gem install ffi
- cd /tmp && wget https://dl.dropboxusercontent.com/u/52296034/cmake12.zip && mkdir cmake && unzip cmake12.zip -d cmake && cd cmake && sudo cp -r . /usr && cmake --version
- cd $TRAVIS_BUILD_DIR
compiler:
- gcc
- clang
# Change this to your needs
script:
- cmake -DBUILD_EXAMPLES=true -DBUILD_TESTS=true -DBUILD_TOOLS=true . && make && make vst && sudo make install && make test
- cd examples
- valgrind --tool=memcheck --leak-check=full --error-exitcode=1 ./learning
- valgrind --tool=memcheck --leak-check=full --error-exitcode=1 ./transliteration
notifications:
email: [email protected]