forked from google/jsonnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (52 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
language: generic
matrix:
include:
- os: linux
env: COMPILER_NAME=gcc CXX=g++-4.9 CC=gcc-4.9
addons:
apt:
packages:
- g++-4.9
sources: &sources
- llvm-toolchain-precise-3.8
- ubuntu-toolchain-r-test
- os: linux
env: COMPILER_NAME=clang CXX=clang++-3.8 CC=clang-3.8
addons:
apt:
packages:
- clang-3.8
sources: *sources
- os: osx
osx_image: xcode8
env: CC=gcc-4.9 && CXX=g++-4.9
- os: osx
osx_image: xcode8
env: CC=clang && CXX=clang++
before_install:
- echo $LANG
- echo $LC_ALL
- $CXX --version
before_script:
script:
# - rvm get head # Workaround 'shell_session_update: command not found'
- set -e
- make test
- python setup.py build
- python setup.py test
# Test CMake build scripts.
- cmake . -Bbuild && cmake --build build --target run_tests
branches:
only:
- master
notifications:
recipients:
- sparkprime@gmail.com
email:
on_success: change
on_failure: always
irc:
channels:
- "chat.freenode.net#jsonnet"
template:
- "%{repository}/%{branch} (%{commit} - %{author}): %{message}"