Skip to content

Commit

Permalink
travis to multiarch
Browse files Browse the repository at this point in the history
  • Loading branch information
avsm committed Mar 18, 2020
1 parent bb5beeb commit 42488d5
Showing 1 changed file with 14 additions and 45 deletions.
59 changes: 14 additions & 45 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,51 +3,20 @@ 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
bash -ex .travis-ci.sh
dist:
- xenial
os:
- linux
- osx
- bionic
arch:
- amd64
- arm64
- ppc64le
env:
- OCAML_VERSION=4.02 COVERAGE=true
- OCAML_VERSION=4.02.3 ARM=true
- OCAML_VERSION=4.03
- OCAML_VERSION=4.04.0+32bit ANDROID=true
- OCAML_VERSION=4.02.3
- OCAML_VERSION=4.03.0
- OCAML_VERSION=4.04.2
- 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
matrix:
allow_failures:
- env: OCAML_VERSION=4.04.0+32bit ANDROID=true
exclude:
- os: osx
env: OCAML_VERSION=4.02 ARM=true
- os: osx
env: OCAML_VERSION=4.02 COVERAGE=true
- os: osx
env: OCAML_VERSION=4.03
- os: osx
env: OCAML_VERSION=4.04+flambda
- os: osx
env: OCAML_VERSION=4.04+32bit ANDROID=true
- os: osx
env: OCAML_VERSION=4.05
- os: osx
env: OCAML_VERSION=4.03.0
- os: osx
env: OCAML_VERSION=4.08.0
- os: osx
env: OCAML_VERSION=4.09.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

- OCAML_VERSION=4.06.1
- OCAML_VERSION=4.07.1
- OCAML_VERSION=4.08.1
- OCAML_VERSION=4.09.1
- OCAML_VERSION=4.10.0

0 comments on commit 42488d5

Please sign in to comment.