File: .travis.yml

package info (click to toggle)
ffms2 2.23-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,356 kB
  • sloc: cpp: 5,084; sh: 4,284; ansic: 485; makefile: 64; xml: 43
file content (27 lines) | stat: -rw-r--r-- 874 bytes parent folder | download | duplicates (2)
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
language: cpp
compiler:
  - gcc
  - clang
env:
  - FFMPEG=git://git.videolan.org/ffmpeg.git
  - FFMPEG=git://git.libav.org/libav.git
before_install:
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  - sudo apt-get update -qq
  - sudo apt-get install -qq g++-4.8
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
install:
  - sudo apt-get install yasm
  - git clone $FFMPEG --depth=1 ffmpeg
  - cd ffmpeg
  - ./configure --disable-avfilter --disable-devices --disable-doc --disable-encoders --disable-filters --disable-hwaccels --disable-muxers --disable-network
  - make -j2
  - sudo make install
  - cd ..
script:
  - ./configure --enable-static --disable-shared || cat config.log
  - make V=1 CXXFLAGS='-Werror' -j2 -k
notifications:
  email:
    - on_success: change
    - on_failure: change