-
Notifications
You must be signed in to change notification settings - Fork 81
/
.travis.yml
30 lines (30 loc) · 1.2 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
language: c
os:
- linux
- osx
env:
- ARCH=xen CONF=dbg
- ARCH=xen CONF=opt
- ARCH=xen CONF=lto
- ARCH=posix CONF=dbg
- ARCH=posix CONF=opt
- ARCH=posix CONF=lto
matrix:
exclude:
- os: osx
env: ARCH=posix CONF=opt
- os: osx
env: ARCH=posix CONF=lto
before_install:
- echo $TRAVIS_OS_NAME
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then wget https://s3.amazonaws.com/travis-otp-releases/ubuntu/$(lsb_release -rs)/erlang-17.5-x86_64.tar.bz2; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then mkdir ~/otp; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then tar xf erlang-17.5-x86_64.tar.bz2 -C ~/otp/; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then source $HOME/otp/17.5/activate; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install erlang; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ] && [ "$ARCH" == "xen" ]; then wget http://erlangonxen.org/ElfGCC.dmg.gz; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ] && [ "$ARCH" == "xen" ]; then tar xf ElfGCC.dmg.gz; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ] && [ "$ARCH" == "xen" ]; then hdiutil mount ElfGCC.dmg; fi
script:
- PATH=/Volumes/ElfGCC/usr/local/gcc-4.8.1-for-linux64/bin:$PATH travis_wait 60 make -j2 play ARCH=$ARCH CONF=$CONF
sudo: false