-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
30 lines (25 loc) · 1020 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
language: generic
os:
- linux
- osx
env:
global:
- export PATH="/opt/rakudo-pkg/bin:/opt/rakudo-pkg/share/perl6/site/bin:$PATH"
addons:
apt:
sources:
- sourceline: 'deb https://dl.bintray.com/nxadm/rakudo-pkg-debs $(lsb_release -cs) main'
key_url: 'http://keyserver.ubuntu.com/pks/lookup?search=0x379CE192D401AB61&op=get'
packages:
- rakudo-pkg
before_install:
# Display OS name
- echo $TRAVIS_OS_NAME
# Debian-based libsdl2 installation
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get -qq update ; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -y libegl1-mesa-dev libgles2-mesa-dev ; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -y libsdl2-dev ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install rakudo-star sdl2 pkg-config ; fi
install:
- zef install . && zef test . --verbose