2016-02-13 19:52:59 +01:00
|
|
|
sudo: required
|
2019-05-08 21:11:23 +02:00
|
|
|
dist: xenial
|
2014-07-02 20:33:49 +02:00
|
|
|
language: cpp
|
2016-02-13 19:52:59 +01:00
|
|
|
|
2014-07-02 20:33:49 +02:00
|
|
|
git:
|
|
|
|
submodules: false
|
2016-02-13 19:52:59 +01:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-05-08 21:11:23 +02:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
|
|
|
- sourceline: 'deb https://apt.kitware.com/ubuntu/ xenial main'
|
|
|
|
key_url: 'https://apt.kitware.com/keys/kitware-archive-latest.asc'
|
2016-02-13 19:52:59 +01:00
|
|
|
packages:
|
|
|
|
- libasound2-dev
|
|
|
|
- libfftw3-dev
|
|
|
|
- libhunspell-dev
|
|
|
|
- libfribidi-dev
|
|
|
|
- libass-dev
|
|
|
|
- libicu-dev
|
|
|
|
- luarocks
|
2019-05-08 21:11:23 +02:00
|
|
|
- cmake
|
|
|
|
- build-essential
|
|
|
|
- libboost-all-dev
|
|
|
|
- libffms2-dev
|
|
|
|
- libfontconfig1-dev
|
|
|
|
- libopenal-dev
|
|
|
|
- libuchardet-dev
|
|
|
|
- libwxgtk3.0-dev
|
2016-02-13 19:52:59 +01:00
|
|
|
|
2014-07-02 20:33:49 +02:00
|
|
|
install:
|
2015-12-21 04:48:23 +01:00
|
|
|
- sudo luarocks install busted > /dev/null
|
2014-07-04 17:17:29 +02:00
|
|
|
- sudo luarocks install moonscript > /dev/null
|
2014-07-04 18:30:46 +02:00
|
|
|
- sudo luarocks install uuid > /dev/null
|
2014-07-02 20:33:49 +02:00
|
|
|
|
|
|
|
script:
|
2019-05-08 21:11:23 +02:00
|
|
|
# Remove the CMake provided by travis
|
|
|
|
- sudo rm -rf /usr/local/cmake*
|
|
|
|
|
|
|
|
- ./build/version.sh .
|
|
|
|
- mkdir build-dir
|
|
|
|
- cd build-dir
|
|
|
|
- cmake -DCMAKE_CXX_FLAGS='-std=gnu++11' ..
|
|
|
|
- make -j2
|
2016-02-13 19:52:59 +01:00
|
|
|
|
2014-07-02 20:33:49 +02:00
|
|
|
notifications:
|
|
|
|
email:
|
2016-02-13 19:52:59 +01:00
|
|
|
- on_success: change
|
|
|
|
- on_failure: change
|
2014-07-02 20:33:49 +02:00
|
|
|
|