osx build
This commit is contained in:
parent
5fb6398302
commit
7120fbee75
12
.travis.yml
12
.travis.yml
@ -8,7 +8,7 @@ compiler:
|
||||
|
||||
os:
|
||||
- linux
|
||||
#- osx
|
||||
- osx
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
@ -40,10 +40,6 @@ addons:
|
||||
- libxxf86vm-dev
|
||||
- llvm-3.7
|
||||
|
||||
before_install:
|
||||
- brew update
|
||||
- brew install gettext irrlicht libogg
|
||||
|
||||
before_install:
|
||||
- if [ $CC = 'gcc' ]; then
|
||||
export CC='gcc-4.8';
|
||||
@ -51,7 +47,7 @@ before_install:
|
||||
export LINK='gcc-4.8';
|
||||
export LINKXX='g++-4.8';
|
||||
fi
|
||||
- if [ "$CXX" == "clang++" ]; then
|
||||
- if [ "$CXX" == 'clang++' ]; then
|
||||
cpwd=$(pwd);
|
||||
export CXXFLAGS="-std=c++0x -stdlib=libc++";
|
||||
svn co --quiet http://llvm.org/svn/llvm-project/libcxx/trunk libcxx;
|
||||
@ -65,6 +61,10 @@ before_install:
|
||||
export CXX=$(which clang++);
|
||||
cd "$cpwd";
|
||||
fi
|
||||
- if [ $TRAVIS_OS_NAME == 'osx' ]; then
|
||||
brew update;
|
||||
brew install gettext irrlicht libogg;
|
||||
fi
|
||||
#- git submodule update --init --recursive&
|
||||
|
||||
script:
|
||||
|
Loading…
x
Reference in New Issue
Block a user