2013-09-19 21:21:52 +02:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- "ARTIFACTS_AWS_REGION=us-east-1"
|
|
|
|
- "ARTIFACTS_S3_BUCKET=vtest.musescore.org"
|
|
|
|
- secure: "lVj+9BBtJIjW3CwfXstvNyYVn0AkXEwTyiPmp4BprcheP78WIqZNC0uG2RjG9MgyHbZkprE7zRdqR9YPWTitg+XYkkD6+jPHRO+PQFLARuiTAX9yhUO53yQQZC2wMkQ+bFuZsFmz1rfAsPHx3bXeZAMsz+Qnh8D2yIqqV7qxwWw="
|
|
|
|
- secure: "L+66yQZIZJTyIAfrG89ncKIkMAr4+UvaOZMsd420OSdnEH9kpdm5Kws8rG0VVLAtqhfQfi3K9DuC8Ub7IiXqil//h+I9WJ2LHKirWK0m/MkhTFC6hfi0uSnQCX/jud3Keewxf3ovgiKQvIw6VR37UC50YJM9+KhZKtsNYhGAdos="
|
2012-06-06 14:35:59 +02:00
|
|
|
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"
|
2013-03-10 19:36:51 +01:00
|
|
|
- "sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test"
|
2013-03-10 19:28:02 +01:00
|
|
|
- "sudo apt-get -q update"
|
2015-03-12 14:34:08 +01:00
|
|
|
- "sudo apt-get install -y g++-4.9"
|
|
|
|
- "sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9"
|
2014-05-17 16:18:24 +02:00
|
|
|
- "sudo apt-get install -qq alsa libsndfile1 wget make ant curl cmake"
|
|
|
|
- "sudo apt-get install -qq libasound2-dev portaudio19-dev libsndfile1-dev zlib1g-dev libfreetype6-dev libfontconfig-dev"
|
|
|
|
- "sudo apt-get install -qq lame libmp3lame-dev"
|
2014-08-17 14:36:12 +02:00
|
|
|
- "sudo apt-get install -qq libegl1-mesa-dev libegl1-mesa"
|
2013-05-15 18:00:53 +02:00
|
|
|
- "mkdir qt5"
|
2015-03-10 09:43:09 +01:00
|
|
|
- "wget -q -O qt5.zip http://ftp.osuosl.org/pub/musescore/utils/qt541.zip"
|
2013-07-15 18:48:29 +02:00
|
|
|
- "unzip -qq qt5.zip -d qt5"
|
2013-05-15 18:00:53 +02:00
|
|
|
- "export PATH=`pwd`/qt5/bin:$PATH"
|
2013-05-15 22:41:55 +02:00
|
|
|
- "export QT_PLUGIN_PATH=`pwd`/qt5/plugins"
|
2014-02-14 10:08:43 +01:00
|
|
|
before_script:
|
2014-11-10 14:38:46 +01:00
|
|
|
# get some memory back
|
|
|
|
- "sudo service mysql stop"
|
|
|
|
- "sudo /etc/init.d/postgresql stop"
|
2014-05-21 00:02:06 +02:00
|
|
|
#compatibility between ruby travis artefact and GO one
|
|
|
|
- "export ARTIFACTS_KEY=$ARTIFACTS_AWS_ACCESS_KEY_ID"
|
|
|
|
- "export ARTIFACTS_SECRET=$ARTIFACTS_AWS_SECRET_ACCESS_KEY"
|
2014-05-20 20:32:52 +02:00
|
|
|
- "artifacts -v || curl -sL https://raw.githubusercontent.com/meatballhat/artifacts/master/install | bash"
|
2014-05-20 21:19:25 +02:00
|
|
|
- "export PATH=$PATH:$HOME/bin"
|
2012-06-12 23:53:41 +02:00
|
|
|
- "make revision"
|
2014-11-04 19:46:14 +01:00
|
|
|
- "make debug CPUS=4"
|
|
|
|
- "sudo make installdebug CPUS=4"
|
2012-06-12 22:54:00 +02:00
|
|
|
- "cd build.debug/mtest"
|
2014-11-04 19:46:14 +01:00
|
|
|
- "make -j2"
|
2012-06-06 14:35:59 +02:00
|
|
|
script:
|
2012-06-14 16:20:23 +02:00
|
|
|
- "../../build/run_tests.sh"
|
2013-09-19 21:21:52 +02:00
|
|
|
after_script:
|
2013-09-20 13:41:33 +02:00
|
|
|
- "export TRAVIS_SHORT_COMMIT=`echo $TRAVIS_COMMIT | cut -c 1-8`"
|
2014-05-20 23:41:33 +02:00
|
|
|
- "export ARTIFACTS_TARGET_PATHS=$TRAVIS_SHORT_COMMIT"
|
2014-05-21 10:10:21 +02:00
|
|
|
- export ARTIFACTS_PATHS=$(ls ../../vtest/html | tr "\n" ":")
|
2014-05-21 09:07:51 +02:00
|
|
|
- "export ARTIFACTS_PERMISSIONS=public-read"
|
|
|
|
- "export TRAVIS_BUILD_DIR=../../vtest/html"
|
2014-05-21 10:39:43 +02:00
|
|
|
- "artifacts upload"
|
2012-06-06 14:35:59 +02:00
|
|
|
notifications:
|
|
|
|
recipients:
|
|
|
|
- build@musescore.org
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "irc.freenode.net#musescore"
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|
|
|
|
|
|
|
|
|