From 727cf713265616c842e604224840167fb90d5438 Mon Sep 17 00:00:00 2001 From: Alexander Shorin Date: Sun, 18 Oct 2015 01:19:53 +0300 Subject: [PATCH] Integrate with Travis CI --- .travis.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..236bcb5 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,34 @@ +language: erlang + +otp_release: + - 18.1 + - 17.5 + - R16B03-1 + +matrix: + allow_failures: + - otp_release: R16B03-1 + +sudo: false + +addons: + apt: + packages: + - libmozjs185-dev + +before_install: + - git clone https://github.com/apache/couchdb + +before_script: + - cd couchdb + - ./configure --disable-docs --disable-fauxton + - cp -r ../!(couchdb) ./src/couch_epi + - make + +script: + - ./bin/rebar setup_eunit + - BUILDDIR=`pwd` ./bin/rebar -r eunit apps=couch_epi skip_deps=couch_log + - ./bin/rebar -r build-plt apps=couch_epi skip_deps=couch_log + - ./bin/rebar -r dialyze apps=couch_epi skip_deps=couch_log + +cache: apt