|
@@ -1,17 +1,13 @@
|
|
-dist: bionic
|
|
|
|
language: c
|
|
language: c
|
|
|
|
|
|
addons:
|
|
addons:
|
|
apt:
|
|
apt:
|
|
packages:
|
|
packages:
|
|
- lcov
|
|
- lcov
|
|
-
|
|
|
|
-os:
|
|
|
|
- - linux
|
|
|
|
- - osx
|
|
|
|
-compiler:
|
|
|
|
- - clang
|
|
|
|
- - gcc
|
|
|
|
|
|
+ - imagemagick
|
|
|
|
+ homebrew:
|
|
|
|
+ packages:
|
|
|
|
+ - imagemagick
|
|
|
|
|
|
script:
|
|
script:
|
|
- mkdir build
|
|
- mkdir build
|
|
@@ -22,14 +18,59 @@ script:
|
|
- cd tests
|
|
- cd tests
|
|
- ./testMyRays
|
|
- ./testMyRays
|
|
|
|
|
|
-addons:
|
|
|
|
- homebrew:
|
|
|
|
- packages:
|
|
|
|
- - imagemagick
|
|
|
|
- update: true
|
|
|
|
|
|
+before_install:
|
|
|
|
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink python@2 ; fi
|
|
|
|
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install imagemagick ; fi
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
include:
|
|
include:
|
|
|
|
+ - os: linux
|
|
|
|
+ dist: bionic
|
|
|
|
+ arch: amd64
|
|
|
|
+ compiler: gcc
|
|
|
|
+
|
|
|
|
+ - os: linux
|
|
|
|
+ dist: bionic
|
|
|
|
+ arch: amd64
|
|
|
|
+ compiler: clang
|
|
|
|
+
|
|
|
|
+ - os: linux
|
|
|
|
+ dist: focal
|
|
|
|
+ arch: amd64
|
|
|
|
+ compiler: gcc
|
|
|
|
+
|
|
|
|
+ - os: linux
|
|
|
|
+ dist: focal
|
|
|
|
+ arch: amd64
|
|
|
|
+ compiler: clang
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ - os: osx
|
|
|
|
+ compiler: clang
|
|
|
|
+ osx_image: xcode12.2
|
|
|
|
+
|
|
|
|
+ - os: linux
|
|
|
|
+ dist: focal
|
|
|
|
+ arch: arm64
|
|
|
|
+ compiler: gcc
|
|
|
|
+
|
|
|
|
+ - os: linux
|
|
|
|
+ dist: bionic
|
|
|
|
+ arch: arm64
|
|
|
|
+ compiler: gcc
|
|
|
|
+
|
|
|
|
+ - os: osx
|
|
|
|
+ compiler: clang
|
|
|
|
+ osx_image: xcode10.3
|
|
|
|
+
|
|
|
|
+ - os: osx
|
|
|
|
+ compiler: clang
|
|
|
|
+ osx_image: xcode11.6
|
|
|
|
+
|
|
|
|
+ - os: osx
|
|
|
|
+ compiler: clang
|
|
|
|
+ osx_image: xcode12
|
|
|
|
+
|
|
- stage: "Coverage"
|
|
- stage: "Coverage"
|
|
os: linux
|
|
os: linux
|
|
compiler: gcc
|
|
compiler: gcc
|
|
@@ -41,3 +82,16 @@ jobs:
|
|
- cmake --build . --target coveralls
|
|
- cmake --build . --target coveralls
|
|
after_success:
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|
|
+
|
|
|
|
+ allow_failures:
|
|
|
|
+ - os: linux
|
|
|
|
+ arch: arm64
|
|
|
|
+
|
|
|
|
+ - os: osx
|
|
|
|
+ osx_image: xcode10.3
|
|
|
|
+
|
|
|
|
+ - os: osx
|
|
|
|
+ osx_image: xcode11.6
|
|
|
|
+
|
|
|
|
+ - os: osx
|
|
|
|
+ osx_image: xcode12
|