From 82f61864a06b862e445965834fde18c3784c5090 Mon Sep 17 00:00:00 2001 From: benoitc Date: Fri, 6 Nov 2015 11:49:49 +0100 Subject: [PATCH] fix travis tests --- .travis.yml | 12 +++++++++++- bootstrap_travis.sh | 5 +++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 bootstrap_travis.sh diff --git a/.travis.yml b/.travis.yml index 4b98f46..0861069 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,14 @@ language: erlang otp_release: - R16B -script: "make test" + - R16B03-1 + - 17.0 + - 17.1 + - 18.0 + - 18.1 +before_script: + - curl -X PUT localhost:5984/couchbeam_testdb + - curl -X PUT localhost:5984/couchbeam_testdb2 + - curl -X PUT localhost:5984/couchbeam_testdb3 + - "./bootstrap_travis.sh" +script: "./rebar3 eunit" diff --git a/bootstrap_travis.sh b/bootstrap_travis.sh new file mode 100755 index 0000000..a222df3 --- /dev/null +++ b/bootstrap_travis.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +curl -O -L https://s3.amazonaws.com/rebar3/rebar3 +chmod +x rebar3 +./rebar3 update \ No newline at end of file