Merge pull request #3518 from nguillaumin/travis-ci

Fixes #1868: Added Tracis CI config file
This commit is contained in:
Twinaphex 2016-09-06 05:18:22 +02:00 committed by GitHub
commit 2ea086c0f8

37
.travis.yml Normal file
View File

@ -0,0 +1,37 @@
# Use 'generic' to be able to override CC/CXX for clang
language: generic
matrix:
include:
- compiler: gcc
- compiler: clang
addons:
# Install a more recent clang than the default
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
env: COMPILER_NAME=clang-3.8 CXX=clang++-3.8 CC=clang-3.8
- os: osx
osx_image: xcode7.3
script:
- xcodebuild -target RetroArch -configuration Release -project pkg/apple/RetroArch.xcodeproj
script:
- ./configure
- make
addons:
apt:
packages:
- curl
- pkg-config
- libglu1-mesa-dev
- freeglut3-mesa
- mesa-common-dev
- libsdl1.2-dev
- libsdl-image1.2-dev
- libsdl-mixer1.2-dev
- libsdl-ttf2.0-dev