fix travis tests
Project: http://git-wip-us.apache.org/repos/asf/couchdb-ibrowse/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-ibrowse/commit/82f61864 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-ibrowse/tree/82f61864 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-ibrowse/diff/82f61864 Branch: refs/heads/upstream Commit: 82f61864a06b862e445965834fde18c3784c5090 Parents: a2bd348 Author: benoitc <[email protected]> Authored: Fri Nov 6 11:49:49 2015 +0100 Committer: benoitc <[email protected]> Committed: Fri Nov 6 11:49:49 2015 +0100 ---------------------------------------------------------------------- .travis.yml | 12 +++++++++++- bootstrap_travis.sh | 5 +++++ 2 files changed, 16 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-ibrowse/blob/82f61864/.travis.yml ---------------------------------------------------------------------- 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" http://git-wip-us.apache.org/repos/asf/couchdb-ibrowse/blob/82f61864/bootstrap_travis.sh ---------------------------------------------------------------------- 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
