.travis.yml 656 字节
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
install: gem install rspec
16
script:
17
  - cd test && rake ci
18
  - make -s
19
  - make -s DEBUG=-m32
20
  - cd ../extras/fixture/test && rake ci
21
  - make -s default noStdlibMalloc
22
  - make -s C89
23 24 25
  - cd ../../../examples/example_1 && make -s ci
  - cd ../example_2 && make -s ci
  - cd ../example_3 && rake