-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
37 lines (33 loc) · 842 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
# Using trusty should yield newer compilers and packages
dist: trusty
sudo: true
language: generic
# This build matrix was obtained from
# http://genbattle.bitbucket.org/blog/2016/01/17/c++-travis-ci/
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env: COMPILER=g++-5
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
env: COMPILER=clang++-3.7
before_install:
- sudo apt-get update -qq
install:
- bash build-wren.sh
- export CPLUS_INCLUDE_PATH=$PWD/wren-master/src/include
- export LIBRARY_PATH=$PWD/wren-master/lib
script:
- make config=release all CXX=$COMPILER