-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (41 loc) · 1.51 KB
/
.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
#
# .travis.yaml contains YAML-formatted (http://www.yaml.org/) build
# instructions for continuous integration via Travis CI
# (http://docs.travis-ci.com/).
#
# Only use continuous integration on the master branch
branches:
only:
- master
# Send notifications on every build failure to comitter and author. Never send
# notifications for sucessful builds.
notifications:
email:
on_success: never
# We're not really using C (but Red and Rebol, of course), but setting language
# to C disables Travis CI's Ruby-specific defaults.
language: c
# We run the Red and Red/System test suites separately, to don't run against
# Travis CI's current 50 minute execution time limitation.
env:
- TEST_SUITE=tests
- TEST_SUITE=system/tests
before_install:
- sudo apt-get update
install:
# 32b "multiarch" libraries are necessary to run 32b binaries on the 64b
# Travis VM.
- sudo apt-get install -y libc6:i386 libcurl3:i386
# Rebol 2 is necessary for building Red.
- wget http://www.rebol.com/downloads/v278/rebol-core-278-4-2.tar.gz
- tar xvfz rebol-core-278-4-2.tar.gz -C /tmp
- sudo mv /tmp/releases/rebol-core/rebol /usr/local/bin/rebol2
script:
- rebol2 -qws ${TEST_SUITE}/run-all.r --batch
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/f9318a4a24c9157f20d1
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false