mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-07-13 15:56:51 +08:00
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:
19
.travis.yml
19
.travis.yml
@ -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
|
||||
|
Reference in New Issue
Block a user