Skip to content

Commit 71f0f87

Browse files
authored
Merge pull request #18 from sccn/citest
Update Travis and AppVeyor
2 parents 899102e + 4d8df67 commit 71f0f87

File tree

4 files changed

+40
-7
lines changed

4 files changed

+40
-7
lines changed

.appveyor.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ version: 1.13.{build}
22
pull_requests:
33
do_not_increment_build_number: true
44
shallow_clone: true
5+
branches:
6+
only:
7+
- master
58
environment:
69
CMakeArgs: ""
710
matrix:
@@ -30,3 +33,11 @@ artifacts:
3033
- path: 'build/*.7z'
3134
- path: 'build/*.deb'
3235
- path: 'build/*.tar.*'
36+
deploy:
37+
provider: GitHub
38+
auth_token:
39+
secure: XzGnVTRjZI2AuQzR5A6qPgZViAAbBVq7/VhM7O8kyTmjIkvUjH1RrwWiFLuinsus
40+
force_update: true
41+
on:
42+
APPVEYOR_REPO_TAG: true
43+

.travis.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
11
language: cpp
2-
dist: xenial
32
env:
43
CMakeArgs=""
4+
branches:
5+
only:
6+
- master
7+
# https://docs.travis-ci.com/user/reference/osx/#macos-version
58
matrix:
69
include:
7-
- os: osx
10+
- os: osx
11+
osx_image: xcode10.1
12+
env: OSXVER=MacOS10.13
13+
- os: osx
14+
osx_image: xcode9.2
15+
env: OSXVER=MacOS10.12
16+
- os: osx
17+
osx_image: xcode8
18+
env: OSXVER=MacOS10.11
19+
before_script:
20+
- brew update
21+
- brew upgrade cmake
822
script:
923
- mkdir -p build/install
1024
- cd build
@@ -16,10 +30,10 @@ script:
1630
deploy:
1731
provider: releases
1832
skip_cleanup: true
19-
on:
20-
condition: $TRAVIS_TAG || $DODEPLOY
21-
draft: true
2233
api_key:
23-
secure: cv/WRLXrJMkcU6AQy5UQn54c5LR+PbVUHveJpEryv54TGQ2+KXrVu0JNeiU9KSb93Ii/QgtctepbkAMgPp9yYP+D0cDCV9GLt/p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ddask81Fk6jIBXdJomiRySDfd1DvP16vDGOfei2GZFX8iSvvATQIEE8CCL750vgUuEPPeRvyug2m6+CerAjvH73fmtGiKDmeaQNz+eBnbBpMphKCUvKRpSjSsBPNsQH/epPo34JnUczfzVbZGNNv87OeHDz7POe5YY6+PSwJbfIusPTMY6VdI/g9U=
2435
file: build/*.tar.*
2536
file_glob: true
37+
on:
38+
repo: sccn/liblsl
39+
tags: true

LSLCMake.cmake

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,12 @@ macro(LSLGenerateCPackConfig)
314314
set(CPACK_PACKAGE_NAME lsl)
315315
if(APPLE)
316316
set(CPACK_GENERATOR "TBZ2")
317-
set(LSL_OS "OSX${lslplatform}")
317+
if(DEFINED ENV{OSXVER})
318+
# Configured by Travis-CI for multi-osx builds.
319+
set(LSL_OS "$ENV{OSXVER}")
320+
else()
321+
set(LSL_OS "OSX${lslplatform}")
322+
endif(DEFINED ENV{OSXVER})
318323
elseif(WIN32)
319324
set(CPACK_GENERATOR "7Z;NSIS")
320325
set(CPACK_NSIS_MODIFY_PATH ON)

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/y8l55sf4n1pfnsck/branch/master?svg=true)](https://ci.appveyor.com/project/cboulay/liblsl/branch/master)
2+
[![Travis Build Status](https://travis-ci.org/sccn/liblsl.svg?branch=master)](https://travis-ci.org/sccn/liblsl)
3+
14
# Lab streaming layer library
25

36
The lab streaming layer is a simple all-in-one approach to streaming experiment

0 commit comments

Comments
 (0)