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