.travis.yml 852 B

1234567891011121314151617181920212223242526272829
  1. language: c
  2. matrix:
  3. include:
  4. - os: osx
  5. compiler: clang
  6. osx_image: xcode7.3
  7. - os: linux
  8. dist: trusty
  9. compiler: gcc
  10. before_install:
  11. - if [ "$TRAVIS_OS_NAME" == "osx" ]; then rvm install 2.1 && rvm use 2.1 && ruby -v; fi
  12. - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install --assume-yes --quiet gcc-multilib; fi
  13. install:
  14. - gem install rspec
  15. - gem install rubocop
  16. script:
  17. - cd test && rake ci
  18. - make -s
  19. - make -s DEBUG=-m32 #32-bit architecture with 64-bit support
  20. - make -s DEBUG=-m32 UNITY_SUPPORT_64= #32-bit build without 64-bit types
  21. - make -s UNITY_INCLUDE_DOUBLE= # without double
  22. - cd ../extras/fixture/test && rake ci
  23. - make -s default noStdlibMalloc
  24. - make -s C89
  25. - cd ../../../examples/example_1 && make -s ci
  26. - cd ../example_2 && make -s ci
  27. - cd ../example_3 && rake