forked from coldlogix/lmeter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (45 loc) · 984 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
language: c
compiler:
- clang
- gcc
matrix:
include:
- os: linux
dist: trusty
sudo: false
- os: osx
osx_image: xcode8
env:
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
- os: osx
osx_image: xcode8
before_install:
- git config --local user.name "Travis CI"
- git config --local user.email "travis@coldlogix.com"
# - git tag "$(date +'%Y%m%d-%H:%M:%S')-$(git log --format=%h -1)"
- eval "${MATRIX_EVAL}"
notifications: # set notification options
email:
recipients:
- travis@coldlogix.com
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
file_glob: true
file: lmeter*.tar.gz
on:
branch:
- master
- lm212_coldlogix
- ngst_coldlogix
branches:
only:
- master
- lm212_coldlogix
- ngst_coldlogix
# Build steps
script:
- mkdir build
- cd build
- cmake .. && make && make package