update travis

This commit is contained in:
Vadim Lopatin 2017-09-12 13:11:24 +03:00
parent 62df72a269
commit 584555338c
1 changed files with 20 additions and 5 deletions

View File

@ -8,14 +8,28 @@ os:
- osx - osx
env: env:
- ARCH=x86 - ARCH=x86_64 CONFIG=default
- ARCH=x86_64 - ARCH=x86_64 CONFIG=minimal
- ARCH=x86_64 CONFIG=console
- ARCH=x86 CONFIG=default
- ARCH=x86 CONFIG=minimal
- ARCH=x86 CONFIG=console
d:
- dmd
- dmd-beta
- ldc
- ldc-beta
# No-one cares about OS X x86 # No-one cares about OS X x86
matrix: matrix:
exclude: exclude:
- os: osx - os: osx
env: ARCH=x86 env: ARCH=x86 CONFIG=default
- os: osx
env: ARCH=x86 CONFIG=minimal
- os: osx
env: ARCH=x86 CONFIG=console
# Sort out packages # Sort out packages
install: install:
@ -30,7 +44,8 @@ install:
then then
sudo dpkg --add-architecture i386 sudo dpkg --add-architecture i386
sudo apt-get update sudo apt-get update
sudo apt-get install -y gcc-multilib libgl1-mesa-glx:i386 libfreetype6:i386 libsdl2-2.0-0:i386 zlib1g-dev:i386 sudo apt-get install -y gcc-multilib libgl1-mesa-glx-lts-utopic:i386 libfreetype6:i386 libsdl2-2.0-0:i386 zlib1g-dev:i386
#libgl1-mesa-glx:i386
else else
sudo apt-get update sudo apt-get update
sudo apt-get install -y libfreetype6 libsdl2-2.0-0 zlib1g-dev sudo apt-get install -y libfreetype6 libsdl2-2.0-0 zlib1g-dev
@ -48,4 +63,4 @@ before_script:
fi fi
script: script:
- dub test --arch=$ARCH - dub test --compiler=${DC} --arch=${ARCH} --config=${CONFIG}