48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
language: cpp
|
|
dist: trusty
|
|
sudo: false
|
|
|
|
# Only build master branch, other branches will have a Pull Request build.
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
compiler: gcc-4.8
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
- deadsnakes
|
|
- kubuntu-backports
|
|
packages:
|
|
- g++-4.8
|
|
- python3.5
|
|
- python3.5-dev
|
|
- python3.5-venv
|
|
- libglu1-mesa-dev
|
|
- libxxf86vm-dev
|
|
- libxrandr-dev
|
|
- libxinerama-dev
|
|
- libxcursor-dev
|
|
- libxi-dev
|
|
- libx11-dev
|
|
- cmake
|
|
script:
|
|
- cmake --version
|
|
- cmake -DNANOGUI_USE_GLAD=ON -DNANOGUI_PYTHON_VERSION=3.5 -DPYTHON_INCLUDE_DIRS:PATH=/usr/include/python3.5m -DPYTHON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DCMAKE_CXX_COMPILER=g++-4.8 -DCMAKE_C_COMPILER=gcc-4.8
|
|
- make -j 2
|
|
- os: osx
|
|
compiler: clang
|
|
script:
|
|
- cmake --version
|
|
- cmake -DNANOGUI_PYTHON_VERSION=2.7
|
|
- make -j 2
|
|
- os: linux
|
|
language: docs
|
|
env: STYLE
|
|
script:
|
|
- resources/check-style.sh
|