forked from mapbox/sdf-glyph-foundry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (35 loc) · 916 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: generic
matrix:
include:
# linux g++ 6
- os: linux
sudo: false
env: CXX=g++-6
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test' ]
packages: [ 'g++-6', 'libstdc++-6-dev' ]
# linux clang++ 3.9
- os: linux
sudo: false
env: CXX=clang++-3.9
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test' ]
packages: [ 'libstdc++-4.9-dev' ]
cache: apt
install:
- git submodule update --init
- |
if [[ ${CXX} =~ "clang" ]] && [[ $(uname -s) == "Linux" ]]; then
./.mason/mason install clang++ 3.9.1
export PATH=$(./.mason/mason prefix clang++ 3.9.1)/bin:${PATH}
which clang++
./.mason/mason install binutils 2.27
export PATH=$(./.mason/mason prefix binutils 2.27)/bin:${PATH}
which ld
fi
script:
- BUILDTYPE=Release make
- make clean
- BUILDTYPE=Debug make