From c270d87804f4e1cc2b26c2650a4bc1dbe8d99f6d Mon Sep 17 00:00:00 2001 From: Euan Harris Date: Wed, 13 Jan 2016 09:47:50 +0000 Subject: [PATCH] travis: Add .travis.yml Signed-off-by: Euan Harris --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e278abb --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: c +install: + - wget https://raw.githubusercontent.com/xapi-project/ocaml-travisci-skeleton/master/.travis-opam.sh + - wget https://raw.githubusercontent.com/simonjbeaumont/ocaml-travis-coveralls/master/travis-coveralls.sh +script: bash -ex .travis-opam.sh && if dpkg --compare-versions $OCAML_VERSION ge 4.02; then bash -ex travis-coveralls.sh; fi +env: + matrix: + - OCAML_VERSION=4.00 + - OCAML_VERSION=4.01 + - OCAML_VERSION=4.02