-
Notifications
You must be signed in to change notification settings - Fork 102
/
.travis.yml
30 lines (25 loc) · 1.22 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
language: c
compiler:
- gcc
- clang
os:
- linux
- osx
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install check; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y check; fi
env:
- CONFIG="--disable-examples --disable-player --disable-tools"
- CONFIG="--disable-examples --disable-player --disable-tools --enable-assertions"
- CONFIG="--disable-examples --disable-player --disable-tools --enable-assertions --enable-check-asm"
- CONFIG="--disable-examples --disable-player --disable-tools --enable-assertions --enable-encoder-check"
- CONFIG="--disable-examples --disable-player --disable-tools --enable-assertions --enable-float-pvq"
- CONFIG="--disable-examples --disable-player --disable-tools --enable-assertions --enable-dct-check-overflow"
- CONFIG="--disable-examples --disable-player --disable-tools --enable-assertions --enable-accounting"
- CONFIG="--disable-examples --disable-player --disable-tools --enable-assertions --enable-ec-accounting"
script:
- ./autogen.sh
- ./configure $CONFIG
- make check