Update travis file.
This commit is contained in:
parent
065849cf68
commit
864fda651d
71
.travis.yml
71
.travis.yml
@ -1,38 +1,63 @@
|
|||||||
dist: bionic
|
|
||||||
language: c
|
language: c
|
||||||
os:
|
|
||||||
- linux
|
|
||||||
# - osx
|
|
||||||
#matrix:
|
|
||||||
# allow_failures:
|
|
||||||
# - os: osx
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- libsdl1.2debian
|
- xorg-dev
|
||||||
- libsdl1.2-dev
|
- libglu1-mesa-dev
|
||||||
|
|
||||||
compiler:
|
|
||||||
- clang
|
|
||||||
- gcc
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make
|
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake ..
|
- cmake ..
|
||||||
- make
|
- make
|
||||||
|
|
||||||
cache:
|
jobs:
|
||||||
directories:
|
include:
|
||||||
- '$HOME/.sonar/cache'
|
- os: linux
|
||||||
|
dist: bionic
|
||||||
|
arch: amd64
|
||||||
|
compiler: gcc
|
||||||
|
|
||||||
#before_install:
|
- os: linux
|
||||||
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
dist: bionic
|
||||||
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install glew; fi
|
arch: amd64
|
||||||
|
compiler: clang
|
||||||
|
|
||||||
#install: true
|
- os: linux
|
||||||
|
dist: focal
|
||||||
|
arch: amd64
|
||||||
|
compiler: gcc
|
||||||
|
|
||||||
#after_success:
|
- os: linux
|
||||||
# - bash <(curl -s https://codecov.io/bash)
|
dist: focal
|
||||||
|
arch: amd64
|
||||||
|
compiler: clang
|
||||||
|
|
||||||
|
|
||||||
|
- os: osx
|
||||||
|
compiler: clang
|
||||||
|
osx_image: xcode12.2
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
dist: focal
|
||||||
|
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
|
||||||
|
|
||||||
|
allow_failures:
|
||||||
|
- os: linux
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
|
- os: osx
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user