forked from 42ity/fty-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (40 loc) · 949 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
# Travis CI script
language: c
cache: ccache
os:
- linux
dist: trusty
sudo: false
services:
- docker
# Set CI_TIME=true to enable build-step profiling in Travis
# Set CI_TRACE=true to enable shell script tracing in Travis
# Set CI_CONFIG_QUIET=true to enable "configure --quiet" (only report stderr)
env:
global:
- CI_TIME=true
- CI_TRACE=false
- CI_CONFIG_QUIET=true
matrix:
- BUILD_TYPE=default
addons:
apt:
packages:
- coreutils
- git
- asciidoc
# Hand off to generated script for each BUILD_TYPE
script: travis_wait 30 ./ci_build.sh
before_deploy: . ./ci_deploy.sh
deploy:
provider: releases
api_key:
# To encrypt your access token run: `travis encrypt -r user/repo`
secure: <encrypted github access token>
file_glob: true
file: ${FTY_CORE_DEPLOYMENT}
skip_cleanup: true
on:
branch: master
tags: true
condition: $TRAVIS_OS_NAME =~ (linux) && $BUILD_TYPE =~ (default)