-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (39 loc) · 913 Bytes
/
.travis.yml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
dist: trusty
language: cpp
compiler:
- gcc
addons:
apt:
sources:
- george-edison55-precise-backports # cmake 3.2.3
- ubuntu-toolchain-r-test
- sourceline: 'deb [trusted=yes] https://repo.fury.io/jordi-adell/ /'
packages:
- cmake
- cmake-data
- libfftw3-dev
- libgtest-dev
- libboost1.55-all-dev
- libsndfile1-dev
- libwipp-dev
before_install:
- sudo wget https://github.com/google/googletest/archive/release-1.8.0.tar.gz
- sudo tar xf release-1.8.0.tar.gz
- cd googletest-release-1.8.0
- sudo cmake -DBUILD_SHARED_LIBS=ON .
- sudo make
- sudo cp -a googletest/include/gtest /usr/include
- sudo cp -a ./googlemock/gtest/libgtest_main.so ./googlemock/gtest/libgtest.so /usr/lib/
- cd "${TRAVIS_BUILD_DIR}"
branches:
only:
- master
- v0.X.X
- v0.4.1
before_script:
- mkdir build
- cd build
- cmake -Dtest=yes ../
script:
- make tests
- ctest -V