forked from rakudo/rakudo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (42 loc) · 1.34 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
50
51
52
53
language: perl
os:
- linux
- osx
sudo: false
fast_finish: true
install: "echo"
dist: xenial
jdk: openjdk11
addons:
apt:
sources:
# add PPAs with more up-to-date toolchains
- ubuntu-toolchain-r-test
script:
- perl Configure.pl $RAKUDO_OPTIONS --moar-option=--cc=$(command -v gcc-6 >/dev/null 2>&1; if [ $? -eq 1 ]; then printf "gcc"; else printf "gcc-6"; fi)
- "make install"
- if [[ $RAKUDO_OPTIONS =~ jvm ]]; then echo "make test is skipped on the jvm backend"; else (cd ~/build/rakudo/rakudo/ && prove -e ~/build/rakudo/rakudo/install/bin/perl6 -vlr t); fi
branches:
only:
- master
- /smoke-me/
notifications:
irc:
if: repo = rakudo/rakudo
channels:
- "irc.freenode.net#raku-dev"
on_success: change
on_failure: always
template:
- "Rakudo build %{result}. %{author} '%{commit_message}'"
- "%{build_url} %{compare_url}"
env:
- RAKUDO_OPTIONS="--backends=moar --gen-nqp --gen-moar"
- RAKUDO_OPTIONS="--backends=moar --gen-nqp=master --gen-moar"
- RAKUDO_OPTIONS="--backends=moar --gen-nqp=master --gen-moar=master"
- RAKUDO_OPTIONS="--backends=jvm --gen-nqp"
- RAKUDO_OPTIONS="--backends=jvm --gen-nqp=master"
matrix:
allow_failures:
- env: RAKUDO_OPTIONS="--backends=jvm --gen-nqp"
- env: RAKUDO_OPTIONS="--backends=jvm --gen-nqp=master"