Skip to content

Commit

Permalink
reduce the number of ci builds
Browse files Browse the repository at this point in the history
Instead of this giant matrix, we're going to focus on a single linux
distro and a few versions of OCaml, and for each one we can use our
`Makefile` rules to build the packages and run tests. It's possible that
I don't completely understand the tradeoffs of doing it this way, but we
should at least have much more reasonable build times.
  • Loading branch information
dpatti committed Jan 21, 2019
1 parent e96751a commit d0150fd
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,10 @@ env:
global:
- PINS="httpaf-async:. httpaf-lwt:. httpaf:."
- TESTS=true
- POST_INSTALL_HOOK="opam install -t . && opam exec -- make build tests"
- POST_INSTALL_HOOK="opam exec -- make build test examples"
- PACKAGE="httpaf"
- DISTRO="ubuntu"
matrix:
- PACKAGE="httpaf" DISTRO="ubuntu" OCAML_VERSION="4.07"
- PACKAGE="httpaf-async" DISTRO="alpine" OCAML_VERSION="4.07"
- PACKAGE="httpaf-lwt" DISTRO="debian-stable" OCAML_VERSION="4.07"
- PACKAGE="httpaf" DISTRO="ubuntu-lts" OCAML_VERSION="4.06"
- PACKAGE="httpaf-async" DISTRO="fedora" OCAML_VERSION="4.06"
- PACKAGE="httpaf-lwt" DISTRO="opensuse" OCAML_VERSION="4.05"
- PACKAGE="httpaf" DISTRO="centos" OCAML_VERSION="4.04"
- PACKAGE="httpaf-async" DISTRO="ubuntu" OCAML_VERSION="4.04"
- PACKAGE="httpaf-lwt" DISTRO="ubuntu" OCAML_VERSION="4.04"
- PACKAGE="httpaf" DISTRO="debian-testing" OCAML_VERSION="4.03"
- PACKAGE="httpaf-async" DISTRO="debian-testing" OCAML_VERSION="4.03"
- PACKAGE="httpaf-lwt" DISTRO="debian-testing" OCAML_VERSION="4.03"
- OCAML_VERSION="4.07"
- OCAML_VERSION="4.06"
- OCAML_VERSION="4.05"

0 comments on commit d0150fd

Please sign in to comment.