summaryrefslogtreecommitdiff
path: root/src/mango/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/mango/.travis.yml')
-rw-r--r--src/mango/.travis.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/mango/.travis.yml b/src/mango/.travis.yml
new file mode 100644
index 000000000..d6130128b
--- /dev/null
+++ b/src/mango/.travis.yml
@@ -0,0 +1,29 @@
+language: erlang
+
+before_install:
+ - sudo apt-get update -qq
+ - sudo apt-get -y install libmozjs-dev python-virtualenv
+ - git clone --depth=1 https://github.com/apache/couchdb
+ - cd couchdb
+ - ./configure --disable-docs --disable-fauxton
+ - cp -R ../src ./src/mango
+ - make
+ - cd ..
+ - couchdb/dev/run -n 1 --admin=testuser:testpass &
+ - sleep 10
+
+before_script:
+ - make venv
+ - source venv/bin/activate
+ - make pip-install
+
+matrix:
+ include:
+ - otp_release: 18.1
+ python: 2.7
+ - otp_release: 17.5
+ python: 2.7
+ - otp_release: R16B03-1
+ python: 2.7
+
+cache: apt