2014-04-25 16:57:00 +00:00
|
|
|
language: cpp
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
2015-01-18 09:28:21 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- secure: "jA29KvTCTR7q4BMzPPUBGazjJwrIWa7k4fo5ZSMlyxh2NbztZTKQYwodgDcXBoptCd1KJ9H3FXwBnNdMNVnTkvoPL9uWnN4K/3D1D20FCag1kmlBwnaVqVei5cRiZ9TOMuaxhjkdg8pcrQLTlXEEdMZf6A2OW0VgoBGDVSX9nYc="
|
|
|
|
|
2014-04-25 16:57:00 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
2014-07-09 19:16:17 +00:00
|
|
|
git:
|
|
|
|
submodules: false
|
|
|
|
|
2014-04-25 16:57:00 +00:00
|
|
|
before_install:
|
|
|
|
- echo "yes" | sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
|
|
|
|
- echo "yes" | sudo apt-add-repository 'deb http://repos.codelite.org/wx3.0/ubuntu/ precise universe'
|
|
|
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
|
|
- sudo apt-get update
|
2014-08-18 09:47:54 +00:00
|
|
|
- sudo apt-get install libwxgtk3.0-dev libopenal-dev freeglut3-dev libglew-dev libc6-dev
|
2014-04-25 16:57:00 +00:00
|
|
|
- sudo apt-get install aria2 -qq
|
|
|
|
- download_extract() { aria2c -x 16 $1 -o $2 && tar -xf $2; }
|
2014-07-10 21:13:45 +00:00
|
|
|
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; export CXX="g++-4.8" CC="gcc-4.8"; else sudo apt-get install libstdc++-4.8-dev; fi
|
2014-04-25 16:57:00 +00:00
|
|
|
# Travis uses CMake 2.8.7. We require 2.8.8. Grab latest
|
|
|
|
- sudo apt-get install lib32stdc++6 -qq &&
|
2014-07-10 21:13:45 +00:00
|
|
|
aria2c -x 16 http://www.cmake.org/files/v3.0/cmake-3.0.0-Linux-i386.sh &&
|
|
|
|
chmod a+x cmake-3.0.0-Linux-i386.sh &&
|
|
|
|
sudo ./cmake-3.0.0-Linux-i386.sh --skip-license --prefix=/usr;
|
2014-04-25 16:57:00 +00:00
|
|
|
|
|
|
|
before_script:
|
2014-10-19 20:18:05 +00:00
|
|
|
- git submodule update --init asmjit ffmpeg llvm
|
|
|
|
- cd llvm_build
|
|
|
|
- cmake -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_BUILD_RUNTIME=OFF -DLLVM_BUILD_TOOLS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_TOOLS=OFF -DLLVM_INCLUDE_UTILS=OFF -DWITH_POLLY=OFF ../llvm
|
|
|
|
- make -j 4
|
|
|
|
- sudo make install
|
|
|
|
- cd ..
|
2014-04-25 16:57:00 +00:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake ..
|
|
|
|
|
2015-01-18 09:28:21 +00:00
|
|
|
addons:
|
|
|
|
coverity_scan:
|
|
|
|
project:
|
|
|
|
name: "DHrpcs3/rpcs3"
|
|
|
|
description: "PS3 emulator/debugger"
|
2015-01-18 10:13:36 +00:00
|
|
|
notification_email: raul.tambre@gmail.com
|
|
|
|
build_command_prepend: ""
|
2015-01-18 09:28:21 +00:00
|
|
|
build_command: "make -j 4"
|
|
|
|
branch_pattern: coverity_scan
|
|
|
|
|
2014-04-25 16:57:00 +00:00
|
|
|
script:
|
2014-07-09 19:16:17 +00:00
|
|
|
- make -j 4
|