Test on both Linux and OSX.

Switch to C language so we can specify operating systems. We have to install ruby 2.1 via rvm because the ruby interpreter on travis ci crashes when running rake ci, however that same version of ruby works fine on my local machine. This work around adds about 6 Minutes to the build and should be replaced as soon as possible to speed up builds.
This commit is contained in:
nah
2016-09-04 09:34:59 -05:00
parent 647c846f9f
commit f255511a7c

View File

@ -1,8 +1,19 @@
language: ruby
rvm:
- "1.9.3"
- "2.0.0"
language: c
matrix:
include:
- os: osx
compiler: clang
osx_image: xcode7.3
- os: linux
sudo: required
dist: trusty
compiler: gcc
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then rvm install 2.1 && rvm use 2.1 && ruby -v; fi
script:
- rake --version
- cd test && rake ci
- make -s
- cd ../extras/fixture/test && rake ci