Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 13 additions & 31 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,15 @@
language: c
install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-docker.sh
script: bash -ex .travis-docker.sh
services:
- docker
env:
- OCAML_VERSION=4.02.3
- OCAML_VERSION=4.04.2
- OCAML_VERSION=4.05.0
- OCAML_VERSION=4.05.0+flambda
- OCAML_VERSION=4.06.0
addons:
apt:
sources:
- avsm
packages:
- opam
# Caching may take a lot of space with so many ocaml versions
#cache:
# directories:
# - $HOME/.opam
before_install:
# Some opam boilerplate
- export OPAMYES=1
- export OPAMVERBOSE=1
- opam init
- opam switch ${OCAML_VERSION}
- eval `opam config env`
install:
# Install dependencies
- opam pin add --no-action containers .
- opam install jbuilder base-bytes result
- opam install --deps-only containers
script:
- make build
- opam install sequence qcheck qtest gen
- make test
global:
- PINS="containers:."
- DISTRO="ubuntu-16.04"
matrix:
- PACKAGE="containers" OCAML_VERSION="4.02.3" DEPOPTS="base-threads base-unix"
- PACKAGE="containers" OCAML_VERSION="4.03.0" DEPOPTS="base-threads base-unix"
- PACKAGE="containers" OCAML_VERSION="4.04.2" DEPOPTS="base-threads base-unix"
- PACKAGE="containers" OCAML_VERSION="4.05.0" DEPOPTS="base-threads base-unix"
- PACKAGE="containers" OCAML_VERSION="4.06.0" DEPOPTS="base-threads base-unix"
23 changes: 23 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
platform:
- x86
environment:
global:
FORK_USER: ocaml
FORK_BRANCH: master
CYG_ROOT: C:\cygwin64
PINS: containers:.
matrix:
- OPAM_SWITCH: 4.02.3+mingw64c
PACKAGE: containers
- OPAM_SWITCH: 4.03.0+mingw64c
PACKAGE: containers
- OPAM_SWITCH: 4.04.2+mingw64c
PACKAGE: containers
- OPAM_SWITCH: 4.05.0+mingw64c
PACKAGE: containers
- OPAM_SWITCH: 4.06.0+mingw64c
PACKAGE: containers
install:
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/$env:FORK_USER/ocaml-ci-scripts/$env:FORK_BRANCH/appveyor-install.ps1"))
build_script:
- call %CYG_ROOT%\bin\bash.exe -l %APPVEYOR_BUILD_FOLDER%\appveyor-opam.sh