@@ -11,28 +11,28 @@ matrix:
11
11
addons :
12
12
apt :
13
13
sources : ['ubuntu-toolchain-r-test']
14
- packages : ['g++-6', 'cmake', 'python3', 'nodejs', 'npm']
14
+ packages : ['g++-6', 'cmake', 'python3', 'nodejs', 'npm', 'libsfml-dev' ]
15
15
env : CCOMPILER='gcc-6' CXXCOMPILER='g++-6'
16
16
17
17
- os : linux
18
18
addons :
19
19
apt :
20
20
sources : ['ubuntu-toolchain-r-test']
21
- packages : ['g++-6', 'cmake', 'python3', 'nodejs', 'npm']
21
+ packages : ['g++-6', 'cmake', 'python3', 'nodejs', 'npm', 'libsfml-dev' ]
22
22
env : CCOMPILER='g++-6' CXXCOMPILER='g++-6'
23
23
24
24
- os : linux
25
25
addons :
26
26
apt :
27
27
sources : ['ubuntu-toolchain-r-test']
28
- packages : ['g++-5', 'cmake', 'python3', 'nodejs', 'npm']
28
+ packages : ['g++-5', 'cmake', 'python3', 'nodejs', 'npm', 'libsfml-dev' ]
29
29
env : CCOMPILER='gcc-5' CXXCOMPILER='g++-5'
30
30
31
31
- os : linux
32
32
addons :
33
33
apt :
34
34
sources : ['llvm-toolchain-precise-3.8']
35
- packages : ['clang-3.8', 'cmake', 'python3', 'nodejs', 'npm']
35
+ packages : ['clang-3.8', 'cmake', 'python3', 'nodejs', 'npm', 'libsfml-dev' ]
36
36
env : CCOMPILER='clang-3.8' CXXCOMPILER='clang++-3.8'
37
37
38
38
# Waiting on Travis whitelisting 3.9, see https://github.com/travis-ci/apt-source-whitelist/issues/300
@@ -60,6 +60,15 @@ install:
60
60
- popd
61
61
62
62
script :
63
+ # Test libsweep examples against the dummy library
64
+ - pushd libsweep/examples
65
+ - mkdir build
66
+ - cd build
67
+ - cmake ..
68
+ - cmake --build .
69
+ - ./example-c
70
+ - ./example-c++
71
+ - popd
63
72
# Test SweepPy bindings against the dummy library
64
73
- pushd sweeppy
65
74
- python3 sweeppy.py
0 commit comments