Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add Travis configuration file
  • Loading branch information
ellerh committed Dec 16, 2016
1 parent 46fcda1 commit f196935
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .travis.yml
@@ -0,0 +1,21 @@
os:
- linux
- osx
env:
- WIDTHOPT=-m64
- WIDTHOPT=-m32
language: c
compiler:
- gcc
- clang
matrix:
exclude:
- os: osx
compiler: gcc # gcc seems to be an symlink to clang
sudo: true
before_install: |
if [ "$TRAVIS_OS_NAME" = linux -a "$WIDTHOPT" = -m32 ]; then
sudo apt-get install -y gcc-multilib
fi
script: # CC is exported by travis
- make WIDTHOPT=$WIDTHOPT -C build/unix/ test

0 comments on commit f196935

Please sign in to comment.