-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.travis.yml
55 lines (47 loc) · 1.26 KB
/
.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
47
48
49
50
51
52
53
54
55
os:
- freebsd
- linux
- osx
dist: jammy
osx_image: xcode14
language: c
compiler:
- gcc
- clang
jobs:
fast_finish: true
notifications:
email:
on_success: change
on_failure: always
irc:
channels:
- "chat.freenode.net#iolib"
on_success: change
on_failure: always
use_notice: true
skip_join: true
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install -qq check; fi
env:
global:
# Coverity Scan token
- secure: "jJirBkZOyJ8KuYXMbjUpKem2FGaCsLBq7roP9oHs5mz8wIKENGB3i7pBe5USVLCwVAuqJ+TPjbfSo4nSnCIf5mLdJoNnyrq8FAYhSRzA/zl4COW6eN0Of9dgCOzcOriPY9rXUVbIapWoMogntnAS6MpmbiSxQCsq99VsIHq3TYk="
before_script:
- source config/travis.cflags.sh
script:
- |
autoreconf -f -i
tests=disable; if [ "$TRAVIS_OS_NAME" = "linux" ]; then tests=enable; fi
./configure --${tests}-tests || cat config.log
make -j2 CFLAGS="${WARN_CFLAGS}" V=1
make check V=1
addons:
coverity_scan:
project:
name: sionescu/libfixposix
build_command_prepend: autoreconf -f -i && ./configure --enable-tests
build_command: make -j4 V=1
branch_pattern: coverity_scan
notification_email: [email protected]