-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.travis.yml
24 lines (24 loc) · 847 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
sudo: required
dist: trusty
language: c++
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y libtokyocabinet-dev libkyototycoon-dev kyototycoon libkyotocabinet-dev; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rvm install ruby-2.3.3; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rvm use 2.3.3; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install tokyo-cabinet kyoto-cabinet kyoto-tycoon; fi
script:
- make && PATH=$PATH:`pwd`/bin make test
os:
- linux
- osx
env:
- CGL_DEBUG=1
- CGL_DEBUG=ultra
matrix:
exclude:
# The default OSX env doesn't have a version that supports
# -fsanitize=address.
- env: CGL_DEBUG=ultra
os: osx