Skip to content

Commit

Permalink
specify travis-ci configs
Browse files Browse the repository at this point in the history
  • Loading branch information
rscohn2 committed Dec 20, 2016
1 parent d5d801e commit ea4f2ba
Showing 1 changed file with 28 additions and 14 deletions.
42 changes: 28 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ea4f2ba

Please sign in to comment.