Skip to content

Commit

Permalink
travid
Browse files Browse the repository at this point in the history
  • Loading branch information
armadillu committed Jan 31, 2017
1 parent 19e85ca commit 188857f
Show file tree
Hide file tree
Showing 2 changed files with 205 additions and 1 deletion.
204 changes: 204 additions & 0 deletions .travis.yml
@@ -0,0 +1,204 @@
# This file allows testing your addon using travis CI servers to use it you'll need to
# create an account in travis.org and enable your addon there.
#
# By default it will test linux 64bit and osx against the master and stable OF branches.
# Other platforms can be enabled by uncommenting the corresponding sections.
#
# If any extra install is needed to use the addon it can be included in the corresponding
# install script in:
#
# scripts/ci/$TARGET/install.sh
#


language: c++
compiler: gcc
sudo: true
matrix:
include:
# fully specify builds, include can't dynamically expand matrix entries
# relative order of sudo and env is important so that addons: is recognized


#branches: #only CI on the testing branch
# only:
# - feature/ci

# Linux 64bit, OF master
- os: linux
dist: trusty
sudo: required
env: TARGET="linux64" OF_BRANCH="master"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- gdb

# Linux 64bit, OF stable: Not supported yet
# - os: linux
# dist: trusty
# sudo: required
# env: TARGET="linux64" OF_BRANCH="stable"
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - gcc-4.9
# - g++-4.9
# - gdb

# OSX, OF master
- os: osx
osx_image: xcode8
compiler: clang
env: TARGET="osx" OF_BRANCH="master"

# OSX, OF stable: Not supported yet
# - os: osx
# osx_image: xcode8
# compiler: clang
# env: TARGET="osx" OF_BRANCH="stable"

# Linux ARM6, OF master: Uncomment following lines to enable
# - os: linux
# sudo: required
# dist: trusty
# env: TARGET="linuxarmv6l" OF_BRANCH="master"


# Linux ARM6, OF stable: Not supported yet
# - os: linux
# sudo: required
# dist: trusty
# env: TARGET="linuxarmv6l" OF_BRANCH="stable"

# Linux ARM7, OF master: Uncomment following lines to enable
# - os: linux
# sudo: false
# env: TARGET="linuxarmv7l" OF_BRANCH="master"
# cache:
# directories:
# - ~/rpi2_toolchain
# - ~/firmware-master
# - ~/archlinux

# Linux ARM7, OF stable: Not supported yet
# - os: linux
# sudo: false
# env: TARGET="linuxarmv7l" OF_BRANCH="stable"
# cache:
# directories:
# - ~/rpi2_toolchain
# - ~/firmware-master
# - ~/archlinux


# Emscripten, OF master: Uncomment following lines to enable
# - os: linux
# sudo: false
# env: TARGET="emscripten" OF_BRANCH="master"
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - libstdc++6


# Emscripten, OF stable: Not supported yet
# - os: linux
# sudo: false
# env: TARGET="emscripten" OF_BRANCH="stable"
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - libstdc++6


# iOS, OF master: Not supported yet
# - os: osx
# osx_image: xcode8
# compiler: clang
# env: TARGET="ios" OF_BRANCH="master"


# iOS, OF stable: Not supported yet
# - os: osx
# osx_image: xcode8
# compiler: clang
# env: TARGET="ios" OF_BRANCH="stable"


# tvOS, OF master: Not supported yet
# - os: osx
# osx_image: xcode8
# compiler: clang
# env: TARGET="tvos" OF_BRANCH="master"


# tvOS, OF stable: Not supported yet
# - os: osx
# osx_image: xcode8
# compiler: clang
# env: TARGET="tvos" OF_BRANCH="stable"


# Android armv7, OF master: Uncomment following lines to enable
# - os: linux
# sudo: false
# env: TARGET="android" OPT="armv7" OF_BRANCH="master"
# cache:
# directories:
# - ~/android-ndk-r12b


# Android armv7, OF stable: Not supported yet
# - os: linux
# sudo: false
# env: TARGET="android" OPT="armv7" OF_BRANCH="stable"
# cache:
# directories:
# - ~/android-ndk-r12b


# Android x86, OF master: Uncomment following lines to enable
# - os: linux
# sudo: false
# env: TARGET="android" OPT="x86" OF_BRANCH="master"
# cache:
# directories:
# - ~/android-ndk-r12b


# Android x86, OF stable: Not supported yet
# - os: linux
# sudo: false
# env: TARGET="android" OPT="x86" OF_BRANCH="stable"
# cache:
# directories:
# - ~/android-ndk-r12b


# Exclude the default build that would otherwise be generated
# see https://github.com/travis-ci/travis-ci/issues/1228
exclude:
- compiler: gcc

install:
- cd ~
- git clone --depth=1 --branch=$OF_BRANCH https://github.com/openframeworks/openFrameworks
- cd openFrameworks
- scripts/ci/addons/install.sh

script:
- scripts/ci/addons/build.sh

git:
depth: 10
2 changes: 1 addition & 1 deletion addon_config.mk
Expand Up @@ -9,7 +9,7 @@ common:

# dependencies with other addons, a list of them separated by spaces
# or use += in several lines
ADDON_DEPENDENCIES = ofxXmlSettings ofxOsc
ADDON_DEPENDENCIES = ofxXmlSettings ofxOsc ofxPoco

# include search paths, this will be usually parsed from the file system
# but if the addon or addon libraries need special search paths they can be
Expand Down

0 comments on commit 188857f

Please sign in to comment.