mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-30 03:34:27 +01:00
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.
22 lines
430 B
YAML
22 lines
430 B
YAML
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
|
|
- make -s default noStdlibMalloc
|
|
- make -s C89
|