MuseScore/.travis.yml
2013-08-01 07:30:20 +02:00

36 lines
1.2 KiB
YAML

before_install:
# rm the rabbitmq source file since it currently times out and we don't need it
- "sudo rm -f /etc/apt/sources.list.d/rabbitmq-source.list"
- "sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test"
- "sudo apt-get -q update"
- "sudo apt-get install -y g++-4.7"
- "sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.7"
- "sudo apt-get install -y alsa libsndfile1 wget make ant curl cmake"
- "sudo apt-get install -y libasound2-dev portaudio19-dev libsndfile1-dev zlib1g-dev libfreetype6-dev libfontconfig-dev"
- "sudo apt-get install -y lame libmp3lame-dev"
- "mkdir qt5"
- "wget -q -O qt5.zip http://ftp.osuosl.org/pub/musescore/linux/qt/qt510.zip"
- "unzip -qq qt5.zip -d qt5"
- "export PATH=`pwd`/qt5/bin:$PATH"
- "export QT_PLUGIN_PATH=`pwd`/qt5/plugins"
before_script:
- "make revision"
- "make debug CPUS=16"
- "sudo make installdebug"
- "cd build.debug/mtest"
- "make -j 4"
script:
- "../../build/run_tests.sh"
notifications:
recipients:
- build@musescore.org
email:
on_success: change
on_failure: always
irc:
channels:
- "irc.freenode.net#musescore"
on_success: change
on_failure: change