update travis CI options

This commit is contained in:
Vadim Lopatin 2016-04-11 13:57:00 +03:00
parent 156ce94f37
commit 8ce099d554
1 changed files with 0 additions and 30 deletions

View File

@ -14,35 +14,5 @@ matrix:
- os: osx
env: ARCH=x86
# Sort out packages
install:
- |
if [ $TRAVIS_OS_NAME == osx ]
then
brew update
brew install sdl2
elif [ $TRAVIS_OS_NAME == linux ]
then
if [ $ARCH == x86 ]
then
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y gcc-multilib libgl1-mesa-glx:i386 libfreetype6:i386 libsdl2-2.0-0:i386
else
sudo apt-get update
sudo apt-get install -y libfreetype6 libsdl2-2.0-0
fi
fi
# Start a virtual x-server.
before_script:
- |
if [ $TRAVIS_OS_NAME == linux ]
then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 3
fi
script:
- dub test --arch=$ARCH