File: .travis.yml

package info (click to toggle)
khronos-opencl-clhpp 3.0~2023.02.06-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,640 kB
  • sloc: ansic: 26,445; cpp: 9,958; ruby: 9,564; tcl: 2,925; pascal: 2,280; makefile: 311; python: 220; asm: 133; sh: 20
file content (29 lines) | stat: -rw-r--r-- 862 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install --assume-yes --quiet gcc-multilib; fi
install:
  - gem install rspec
  - gem install rubocop -v 0.57.2
script:
  - cd test && rake ci
  - make -s
  - make -s DEBUG=-m32 #32-bit architecture with 64-bit support
  - make -s DEBUG=-m32 UNITY_SUPPORT_64= #32-bit build without 64-bit types
  - make -s UNITY_INCLUDE_DOUBLE= # without double
  - cd ../extras/fixture/test && rake ci
  - make -s default noStdlibMalloc
  - make -s C89
  - cd ../../../examples/example_1 && make -s ci
  - cd ../example_2 && make -s ci
  - cd ../example_3 && rake