specify travis-ci configs

This commit is contained in:
Robert Cohn
2016-12-20 00:28:43 +00:00
parent d5d801e341
commit ea4f2baf68

View File

@@ -6,20 +6,34 @@ addons:
# 32 bit support
- gcc-multilib
os:
- linux
- osx
# test gcc and clang
compiler:
- gcc
- clang
env:
- host_cpu=ia32
- host_cpu=x86-64
matrix:
include:
- compiler: gcc
os: linux
env: host_cpu=ia32 shared_static=--shared
- compiler: gcc
os: linux
env: host_cpu=ia32 shared_static=--static
- compiler: gcc
os: linux
env: host_cpu=x86-64 shared_static=--shared
- compiler: gcc
os: linux
env: host_cpu=x86-64 shared_static=--static
- compiler: clang
os: osx
env: host_cpu=ia32 shared_static=--shared
- compiler: clang
os: osx
env: host_cpu=ia32 shared_static=--static
- compiler: clang
os: osx
env: host_cpu=x86-64 shared_static=--shared
- compiler: clang
os: osx
env: host_cpu=x86-64 shared_static=--static
script:
- pip install --user https://github.com/intelxed/mbuild/zipball/master
- mkdir build
- cd build && ../mfile.py host_cpu=$host_cpu test
- cd build && ../mfile.py host_cpu=$host_cpu $shared_static test