1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-30 19:54:26 +01:00

Fix 32-bit build issues on Travis-CI by installing multilib

If, longer term, the Travis-CI support for 32-bit is inconsistent
the lines that failed are:
 - make -s DEBUG=-m32
 - cd ../example_3 && rake
Add target 'ci' for building examples with -Werror
This commit is contained in:
jsalling
2017-01-18 22:18:11 -06:00
parent bb7f889f03
commit e0104179ed
3 changed files with 8 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ matrix:
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then rvm install 2.1 && rvm use 2.1 && ruby -v; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install --assume-yes --quiet gcc-multilib; fi
install: gem install rspec
script:
- cd test && rake ci
@@ -19,6 +20,6 @@ script:
- cd ../extras/fixture/test && rake ci
- make -s default noStdlibMalloc
- make -s C89
- cd ../../../examples/example_1 && make -s
- cd ../example_2 && make -s
- cd ../example_3 && rake
- cd ../../../examples/example_1 && make -s ci
- cd ../example_2 && make -s ci
- cd ../example_3 && rake