-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
21 lines (18 loc) · 968 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: crystal
sudo: required
services:
- docker
matrix:
include:
- install: # Clang 4.0 on Ubuntu 16.04 (Xenial)
- docker build . -f ci/Dockerfile.ubuntu -t bindgen-test --build-arg DISTRIB_CODENAME=xenial --build-arg CLANG_VERSION=4.0
- install: # Clang 5.0 on Ubuntu 16.04 (Xenial)
- docker build . -f ci/Dockerfile.ubuntu -t bindgen-test --build-arg DISTRIB_CODENAME=xenial --build-arg CLANG_VERSION=5.0
- install: # Clang 4.0 on Debian 7 (Stretch)
- docker build . -f ci/Dockerfile.debian -t bindgen-test --build-arg DISTRIB_CODENAME=stretch --build-arg CLANG_VERSION=4.0
- install: # Clang 5.0 on Debian 7 (Stretch)
- docker build . -f ci/Dockerfile.debian -t bindgen-test --build-arg DISTRIB_CODENAME=stretch --build-arg CLANG_VERSION=5.0
- install: # Clang "latest" on ArchLinux (Rolling)
- docker build . -f ci/Dockerfile.archlinux -t bindgen-test
script:
- docker run --rm bindgen-test ci/run.sh