mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Travis file fixes
Move to container-based builds. Add BUILD_SHARED_LIBS to matrix. Enable OS X.
This commit is contained in:
parent
f21ac15c6c
commit
422044b778
21
.travis.yml
21
.travis.yml
@ -1,16 +1,25 @@
|
|||||||
language: c
|
language: c
|
||||||
compiler: clang
|
compiler: clang
|
||||||
before_install:
|
|
||||||
- sudo apt-add-repository ppa:irie/cmake -y
|
|
||||||
- sudo apt-get update -q
|
|
||||||
- sudo apt-get install cmake xorg-dev libglu1-mesa-dev
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- travis
|
- travis
|
||||||
- master
|
- master
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
|
sudo: false
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- kubuntu-backports
|
||||||
|
packages:
|
||||||
|
- cmake
|
||||||
|
env:
|
||||||
|
- BUILD_SHARED_LIBS=ON
|
||||||
|
- BUILD_SHARED_LIBS=OFF
|
||||||
script:
|
script:
|
||||||
- cmake .
|
- cmake -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} .
|
||||||
- make
|
- cmake --build .
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
recipients:
|
recipients:
|
||||||
|
Loading…
Reference in New Issue
Block a user