Skip to content

Commit

Permalink
Re-add travis support for OCaml < 4.02
Browse files Browse the repository at this point in the history
Only run coveralls for OCaml >= 4.02

Signed-off-by: John Else <john.else@citrix.com>
  • Loading branch information
johnelse committed Nov 4, 2015
1 parent 6a0df92 commit f58a86e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ install:
before_script:
- sudo apt-get update -qq
- sudo apt-get install -y supercollider
script: PACKAGE=osc bash -ex .travis-opam.sh && bash -ex travis-coveralls.sh
script: PACKAGE=osc bash -ex .travis-opam.sh && if dpkg --compare-versions $OCAML_VERSION ge 4.02; then bash -ex travis-coveralls.sh; fi
env:
- OCAML_VERSION=4.00
- OCAML_VERSION=4.00 DEPOPTS=lwt
- OCAML_VERSION=4.01
- OCAML_VERSION=4.01 DEPOPTS=lwt
- OCAML_VERSION=4.02
- OCAML_VERSION=4.02 DEPOPTS=lwt

0 comments on commit f58a86e

Please sign in to comment.