Revision f8c1c6834e3c7da57d0cae114735f1cf643b0498 authored by Nico Schertler on 09 July 2018, 14:15:39 UTC, committed by Nico Schertler on 09 July 2018, 14:15:39 UTC
1 parent 722a9f4
.travis.yml
language: cpp
sudo: required
branches:
only:
- master
matrix:
include:
- os: linux
deploy:
edge:
branch: v1.8.47 #work-around for broken Travis Deploy (https://github.com/travis-ci/travis-ci/issues/9312)
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
target_branch: deploy-linux
local_dir: build/build
dist: trusty
script:
- mkdir build
- cd build
- cmake .. -DCMAKE_CXX_COMPILER=g++-6 -DCMAKE_C_COMPILER=gcc-6 -DNANOGUI_USE_GLAD=ON
- make RegularMeshTexturing
- mkdir build
- zip -r build/gmcg-linux.zip bin
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- kubuntu-backports
packages:
- gcc-6
- g++-6
- cmake
- xorg-dev
- libglu1-mesa-dev
- os: osx
deploy:
edge:
branch: v1.8.47 #work-around for broken Travis Deploy (https://github.com/travis-ci/travis-ci/issues/9312)
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
target_branch: deploy-osx
local_dir: build
compiler: clang
script:
- mkdir build
- cd build
- cmake .. -DNANOGUI_USE_GLAD=ON
- make RegularMeshTexturing
- mkdir build
- cp bin/RegularMeshTexturing.app/Contents/MacOS/RegularMeshTexturing bin/RegularMeshTexturing
- zip build/gmcg-macos.zip bin/RegularMeshTexturing
Computing file changes ...