forked from openframeworks/projectGenerator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (28 loc) · 967 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
cache: ccache
env:
global:
- secure: LBTN8d1hS7ocrqDwxLQqU0tfK3FMCXBI8q1yASEjtkp/v5HEyFkbj22H4jXZ20SkpCTlIG2L6i/fU3d6KzJUzTFuxkQEWsnjkj4jAhxGEWRsT1RV6VcUPQDGLHapXwTy+ZYgMNxE7aAdQaBskPHdVzAhjrzlTwVuKp6KjFn+kMU=
- secure: UCmZzsBmus1uj1G5ZxwhBA5J0/5qPXT6qmd3A2M/8HlYszNYdF+ekSE0WIBgzkF6J4vb95VpezSVyJjqu7ZsV1BhJqUU6qvxG4b/n06NPereN55vULqpVSrim4lwNyX3KwZQAkCVjmwqqSvZNlWyo47cBgdbv8S3woZTVgq7GmQ=
matrix:
include:
- os: osx
osx_image: xcode8
language: objective-c
compiler: clang
env: NAME="osx" SCRIPT_PATH="scripts/$NAME" SCRIPT="$SCRIPT_PATH/buildPG.sh"
- os: linux
language: c++
compiler: gcc
sudo: true
dist: trusty
env: NAME="linux" SCRIPT_PATH="scripts/$NAME" SCRIPT="$SCRIPT_PATH/buildPG.sh"
before_install:
- if [ "$NAME" = "osx" ]; then npm install -g npm@'=6.3.0'; fi
script:
- if [ "$NAME" = "osx" ]; then brew install ccache; fi
- ccache -z
- ccache -s
- "$SCRIPT"
- ccache -s
git:
depth: 10