Repository: couchdb-fabric
Updated Branches:
  refs/heads/master 9335f03e6 -> dcfcb2a97


Integrate with Travis CI


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/dcfcb2a9
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/dcfcb2a9
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/dcfcb2a9

Branch: refs/heads/master
Commit: dcfcb2a971fa20ff1ceb96a5ea5ca81e398bbc35
Parents: 9335f03
Author: Alexander Shorin <[email protected]>
Authored: Mon Aug 24 14:30:01 2015 +0300
Committer: Alexander Shorin <[email protected]>
Committed: Mon Aug 24 14:55:01 2015 +0300

----------------------------------------------------------------------
 .travis.yml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/dcfcb2a9/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..f47fff7
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,24 @@
+language: erlang
+
+otp_release:
+  - 18.0
+  - 17.5
+  - R16B03-1
+  - R14B04
+
+before_install:
+  - sudo apt-get update -qq
+  - sudo apt-get -y install libmozjs-dev
+  - git clone https://github.com/apache/couchdb
+
+before_script:
+  - cd couchdb
+  - ./configure --disable-docs --disable-fauxton
+  - cp -r ../!(couchdb) ./src/fabric
+  - make
+
+script:
+  - rebar setup_eunit
+  - BUILDDIR=`pwd` rebar -r eunit apps=fabric
+
+cache: apt

Reply via email to