.travis.yml 684 字节
Newer Older
N
nah 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
language: c

matrix:
 include:
    - os: osx
      compiler: clang
      osx_image: xcode7.3
    - os: linux
      dist: trusty
      compiler: gcc

before_install:
  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then rvm install 2.1 && rvm use 2.1 && ruby -v; fi
14
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install --assume-yes --quiet gcc-multilib; fi
15 16 17
install:
  - gem install rspec
  - gem install rubocop
18
script:
19
  - cd test && rake ci
20
  - make -s
21
  - make -s DEBUG=-m32
22
  - cd ../extras/fixture/test && rake ci
23
  - make -s default noStdlibMalloc
24
  - make -s C89
25 26 27
  - cd ../../../examples/example_1 && make -s ci
  - cd ../example_2 && make -s ci
  - cd ../example_3 && rake