2014-07-02 20:33:49 +02:00
|
|
|
language: cpp
|
|
|
|
git:
|
|
|
|
submodules: false
|
|
|
|
before_install:
|
|
|
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
|
|
- sudo add-apt-repository -y ppa:vslavik/poedit
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -qq g++-4.8
|
2014-07-03 16:54:03 +02:00
|
|
|
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8 --slave /usr/bin/gcov gcov /usr/bin/gcov-4.8
|
|
|
|
- sudo pip install cpp-coveralls
|
2014-07-02 20:33:49 +02:00
|
|
|
install:
|
|
|
|
- sudo apt-get install -y -qq libasound2-dev libfftw3-dev libhunspell-dev yasm libfribidi-dev libass-dev libffms2-dev libwxgtk3.0-dev libicu-dev luarocks
|
2014-07-04 17:17:29 +02:00
|
|
|
- sudo luarocks install busted 1.10.0 > /dev/null
|
|
|
|
- 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
|
|
|
|
|
|
|
- git submodule --quiet init
|
2014-07-04 16:29:30 +02:00
|
|
|
- git submodule --quiet update vendor/googletest
|
2014-07-02 20:33:49 +02:00
|
|
|
|
2014-07-04 16:29:30 +02:00
|
|
|
- cd vendor
|
|
|
|
- rm -rf boost
|
|
|
|
- wget http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.bz2/download
|
|
|
|
- tar xjf download
|
|
|
|
- mv boost_1_55_0 boost
|
|
|
|
- cd boost
|
2014-07-02 20:33:49 +02:00
|
|
|
- ./bootstrap.sh
|
2014-07-04 16:29:30 +02:00
|
|
|
- ./b2 -j3 -layout=system threading=multi cxxflags=-std=c++11 link=shared variant=release --without-python --without-iostreams --without-serialization --without-graph --without-log --without-math --without-signals --without-test --without-wave --without-mpi --without-program_options --without-graph_parallel --without-context --without-coroutine --without-random --without-timer --without-date_time
|
2014-07-02 20:33:49 +02:00
|
|
|
- cd ../..
|
|
|
|
script:
|
|
|
|
- export CPATH=$(pwd)/vendor/boost
|
|
|
|
- export LD_LIBRARY_PATH=$(pwd)/vendor/boost/stage/lib:$LD_LIBRARY_PATH
|
2014-07-03 16:54:03 +02:00
|
|
|
- export CPPFLAGS="-fprofile-arcs -ftest-coverage"
|
|
|
|
- export LIBS="-lgcov"
|
2014-07-02 20:33:49 +02:00
|
|
|
- autoreconf -if
|
2014-07-04 17:17:57 +02:00
|
|
|
- ./configure BOOST_LDFLAGS="-L$(pwd)/vendor/boost/stage/lib" --enable-debug || cat config.log
|
2014-07-02 20:33:49 +02:00
|
|
|
- make -j3 all test
|
2014-07-06 02:26:59 +02:00
|
|
|
- coveralls --exclude vendor --exclude src --exclude build --exclude tools --exclude libaegisub/windows > /dev/null
|
2014-07-02 20:33:49 +02:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
- on_success: change
|
|
|
|
- on_failure: change
|
|
|
|
|