You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/10/27 20:21:38 UTC
couchdb-couch-epi git commit: Integrate with Travis CI
Repository: couchdb-couch-epi
Updated Branches:
refs/heads/master c359a6900 -> 727cf7132
Integrate with Travis CI
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-epi/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-epi/commit/727cf713
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-epi/tree/727cf713
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-epi/diff/727cf713
Branch: refs/heads/master
Commit: 727cf713265616c842e604224840167fb90d5438
Parents: c359a69
Author: Alexander Shorin <kx...@apache.org>
Authored: Sun Oct 18 01:19:53 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Tue Oct 27 22:08:45 2015 +0300
----------------------------------------------------------------------
.travis.yml | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch-epi/blob/727cf713/.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