forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
61 lines (53 loc) · 1.69 KB
/
.travis.yml
File metadata and controls
61 lines (53 loc) · 1.69 KB
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
54
55
56
57
58
59
60
61
# Very basic Travis CI (http://travis-ci.org) control file that allows
# some basic Linux-based continuous integration testing (for free).
language: c++
# Use container-based infrastructure
sudo: false
# Skip vulcan CI branches
branches:
only:
- /^develop.*$/
- /^release.*$/
- coverity_scan
# Environment variables
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "R/JfoBMrkhCGWhfWM1m3gPHuLtMBlp2SIK1R9BaPbRsbGBUJmAg9V0g0YXSaw8SVxoyuiL/jsLtHPfDeub9oTxrYydew+6/4KaoQdG7EGXQJfBhH2f0ag/hTKJfXnmZX9jMMnTxPf5Axjq+w4E6sKkU2+d1oAJRhrqzYNwDhVlc="
- CXX_STD: "gnu++98"
# Set up the source tree by fetching Linux-specific prebuilt objects
install: (cd prebuilt && ./fetch-libraries.sh linux)
# Bootstrap the LCB compiler, build the default target set and run a
# the default test suite.
script: >
if [ "${COVERITY_SCAN_BRANCH}" != "1" ]; then
make all-linux && make -C tests/lcb check
fi
addons:
# Configuration for Coverity Scan integration
#
# In order to trigger a scan with Coverity, push to the
# 'coverity_scan' branch.
coverity_scan:
project:
name: "runrev/livecode"
description: "Build submitted via Travis CI"
notification_email: engineteam@livecode.com
build_command: "make all-linux"
branch_pattern: coverity_scan
# Packages needed for building LiveCode
apt:
packages:
- libx11-dev
- libxext-dev
- libxrender-dev
- libxft-dev
- libxinerama-dev
- libxv-dev
- libxcursor-dev
- libfreetype6-dev
- libgtk2.0-dev
- libpopt-dev
- libesd0-dev
- liblcms-dev