Update Travis config to allow container-based builds.

This commit is contained in:
Bob Nystrom 2015-07-10 10:35:25 -07:00
parent 0ddaa2517c
commit 18165db204

View File

@ -2,10 +2,11 @@ language: c
compiler:
- gcc
- clang
before_install:
# Travis VMs are 64-bit but we compile both for 32 and 64 bit. To enable the
# 32-bit builds to work, we need gcc-multilib.
- sudo apt-get update -qq
- sudo apt-get install -qq gcc-multilib
script: make all && make test
# Travis VMs are 64-bit but we compile both for 32 and 64 bit. To enable the
# 32-bit builds to work, we need gcc-multilib.
addons:
apt:
packages:
- gcc-multilib
sudo: false # Enable container-based builds.
script: make all && make test