-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 951 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
31
32
33
34
35
36
37
38
39
language: cpp
compiler:
- gcc
- clang
os:
- linux
- osx
before_install:
# BUG(mtwilliams): This is going to break on OS X. Use a shell script instead?
- sudo apt-get update -qq
- sudo apt-get install -qq make
- sudo apt-get install -qq gcc-multilib g++-multilib
- gem install ryb
- ryb gen ninja
script:
# BUG(mtwilliams): Doesn't respect mangling of `ARCHITECTURE`.
- ninja loom_${CONFIGURATION}_${TRAVIS_OS_NAME}_${ARCHITECTURE}
- _build/bin/tests_${CONFIGURATION}_${TRAVIS_OS_NAME}_${ARCHITECTURE}
rvm:
- 2.2.3
env:
global:
- LINKAGE=static
matrix:
- CONFIGURATION=debug ARCHITECTURE=x86
- CONFIGURATION=release ARCHITECTURE=x86
- CONFIGURATION=debug ARCHITECTURE=x86_64
- CONFIGURATION=release ARCHITECTURE=x86_64
allow_failures:
- os: osx
cache:
- apt
- bundler
notifications:
email:
recipients:
on_success: change
on_failure: always