135375f98Sopenharmony_cilanguage: c
235375f98Sopenharmony_ci
335375f98Sopenharmony_cimatrix:
435375f98Sopenharmony_ci include:
535375f98Sopenharmony_ci    - os: osx
635375f98Sopenharmony_ci      compiler: clang
735375f98Sopenharmony_ci      osx_image: xcode7.3
835375f98Sopenharmony_ci    - os: linux
935375f98Sopenharmony_ci      dist: trusty
1035375f98Sopenharmony_ci      compiler: gcc
1135375f98Sopenharmony_ci
1235375f98Sopenharmony_cibefore_install:
1335375f98Sopenharmony_ci  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then rvm install 2.3 && rvm use 2.3 && ruby -v; fi
1435375f98Sopenharmony_ci  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install --assume-yes --quiet gcc-multilib; fi
1535375f98Sopenharmony_ciinstall:
1635375f98Sopenharmony_ci  - gem install rspec
1735375f98Sopenharmony_ci  - gem install rubocop -v 0.57.2
1835375f98Sopenharmony_ciscript:
1935375f98Sopenharmony_ci  - cd test && rake ci
2035375f98Sopenharmony_ci  - make -s
2135375f98Sopenharmony_ci  - make -s DEBUG=-m32 #32-bit architecture with 64-bit support
2235375f98Sopenharmony_ci  - make -s DEBUG=-m32 UNITY_SUPPORT_64= #32-bit build without 64-bit types
2335375f98Sopenharmony_ci  - make -s UNITY_INCLUDE_DOUBLE= # without double
2435375f98Sopenharmony_ci  - cd ../extras/fixture/test && rake ci
2535375f98Sopenharmony_ci  - make -s default noStdlibMalloc
2635375f98Sopenharmony_ci  - make -s C89
2735375f98Sopenharmony_ci  - cd ../../../extras/memory/test && rake ci
2835375f98Sopenharmony_ci  - make -s default noStdlibMalloc
2935375f98Sopenharmony_ci  - make -s C89
3035375f98Sopenharmony_ci  - cd ../../../examples/example_1 && make -s ci
3135375f98Sopenharmony_ci  - cd ../example_2 && make -s ci
3235375f98Sopenharmony_ci  - cd ../example_3 && rake
33