forked from yallop/ocaml-ctypes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (54 loc) · 1.39 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
53
54
language: c
sudo: required
services:
- docker
script:
- if [ "${ARM}z" = "truez" ]; then
docker run -v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static -v $(pwd):/travis yallop/ocaml-ctypes-qemu-arm-base /travis/.travis-ci-arm.sh;
else
bash -ex .travis-ci.sh;
fi
os:
- linux
- osx
env:
- OCAML_VERSION=4.02.3 COVERAGE=true
- OCAML_VERSION=4.02.3 ARM=true
- OCAML_VERSION=4.03.0
- OCAML_VERSION=4.04.0+flambda
- OCAML_VERSION=4.04.0+32bit ANDROID=true
- OCAML_VERSION=4.05.0
- OCAML_VERSION=4.06.0
- OCAML_VERSION=4.07.0
- OCAML_VERSION=4.08.0
- OCAML_VERSION=4.09.0
- OCAML_VERSION=4.10.0
matrix:
allow_failures:
- env: OCAML_VERSION=4.04.0+32bit ANDROID=true
exclude:
- os: osx
env: OCAML_VERSION=4.02.3 ARM=true
- os: osx
env: OCAML_VERSION=4.02.3 COVERAGE=true
- os: osx
env: OCAML_VERSION=4.04.0+flambda
- os: osx
env: OCAML_VERSION=4.04.0+32bit ANDROID=true
- os: osx
env: OCAML_VERSION=4.05.0
- os: osx
env: OCAML_VERSION=4.06.0
- os: osx
env: OCAML_VERSION=4.03.0
- os: osx
env: OCAML_VERSION=4.08.0
- os: osx
env: OCAML_VERSION=4.09.0
- os: osx
env: OCAML_VERSION=4.10.0
before_install:
- if [ "${ARM}z" = "truez" ]; then
sudo apt-get update && sudo apt-get install --yes qemu-user-static;
docker pull yallop/ocaml-ctypes-qemu-arm-base;
fi