forked from prideout/par
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 823 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
language: c
script:
# uncrustify
# - curl -L https://github.com/uncrustify/uncrustify/archive/uncrustify-0.70.0.tar.gz | tar -xz
# - cd uncrustify-uncrustify-0.70.0
# - ls
# - cmake . -Bbuild
# - cmake --build build
# - cp build/uncrustify .. && cd ..
# - ./uncrustify --version
# - python tools/format.py --check
# gcc
- export CC=gcc CXX=g++
- cmake test -Bbuild
- cmake --build build
- ./build/test_shapes
- rm -rf build
- echo Switching from gcc to clang...
# clang
- export CC=clang CXX=clang++
- cmake test -Bbuild
- cmake --build build
# smoke tests
- ./build/test_bubbles
- ./build/test_shapes
- ./build/test_filecache
- ./build/test_filecache_lz4
- ./build/test_sprune
- ./build/test_strings
- ./build/test_octasphere