Skip to content

Commit

Permalink
Merge pull request #80 from avsm/multi-distro-travis
Browse files Browse the repository at this point in the history
Add multi-distro testing via Travis/Docker containers
  • Loading branch information
avsm committed Feb 8, 2016
2 parents 715820b + 607ba1b commit cc9af43
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
language: c
install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh
script: bash -ex .travis-opam.sh
sudo: false
services:
- docker
install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-docker.sh
script: bash -ex ./.travis-docker.sh
env:
global:
- PACKAGE="cstruct"
- PACKAGE="cstruct"
- DEPOPTS="camlp4 ppx_tools async lwt"
- REVDEPS="tls dns irmin tcpip"
matrix:
- OCAML_VERSION=4.02 REVDEPS=tls
- OCAML_VERSION=4.02 DEPOPTS="lwt" REVDEPS="dns irmin"
- OCAML_VERSION=4.02 DEPOPTS="async"
- OCAML_VERSION=4.01 DEPOPTS="async lwt" REVDEPS=mirage
- OCAML_VERSION=4.01 DEPOPTS="camlp4"
- OCAML_VERSION=4.02 DEPOPTS="ppx_tools"
- DISTRO="debian-stable" OCAML_VERSION="4.01.0" DEPOPTS="camlp4 lwt"
- DISTRO="debian-testing" OCAML_VERSION="4.02.3"
- DISTRO="ubuntu-14.04" OCAML_VERSION="4.02.3"
- DISTRO="ubuntu-15.10" OCAML_VERSION="4.02.3"
- DISTRO="centos-7" OCAML_VERSION="4.02.3"
- DISTRO="centos-6" OCAML_VERSION="4.02.3"
- DISTRO="fedora-23" OCAML_VERSION="4.02.3"
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
The `sexplib` functions were only used in the interface, so replace them
with manually written ones. This also enables compatibility with latest
Core that has switched to ppx.
* Add multi-distro testing via Travis/Docker containers.

1.7.1 (2015-12-15):
* Correct error output for `LE.get_uint16` on invalid bounds (#75)
Expand Down

0 comments on commit cc9af43

Please sign in to comment.