summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoan Touzet <joant@atypical.net>2017-05-04 16:06:21 -0400
committerJoan Touzet <joant@atypical.net>2017-05-04 16:36:50 -0400
commitc0048da4d935528694f57facd497a720be50e0af (patch)
tree0cb523989370dab6d68049700479e2ce8537e857
parent4e983fc23c0982e9a9fead510c00f74e3cdbd676 (diff)
downloadcouchdb-c0048da4d935528694f57facd497a720be50e0af.tar.gz
Switch to using Travis containerised buildstravis-containers
-rw-r--r--.travis.yml59
1 files changed, 48 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index f0f7126c4..580ac6c39 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,17 +1,54 @@
-before_install:
- - sudo apt-get -y update
- - sudo apt-get -y install libicu-dev libmozjs185-dev pkg-config help2man libcurl4-openssl-dev
- - sudo apt-get -y install libtool automake autoconf autoconf-archive
- - sudo apt-get -y install shunit2
-before_script: ./configure -c --disable-docs --disable-fauxton
-script:
- - make check
language: erlang
+sudo: false
+
+os: linux
otp_release:
- - 18.1
- - 18.0
+ - 19.3
+ - 18.3
- 17.5
- R16B03-1
+
+addons:
+ apt:
+ packages:
+ - build-essential
+ - curl
+ - libcurl4-openssl-dev
+ - libicu-dev
+ - libmozjs185-dev
+ - pkg-config
+ - help2man
+ - shunit2
+
git:
depth: 10
-cache: apt
+
+# Enable this block if you want to build docs & fauxton too
+#cache:
+# - pip
+#node_js:
+# - 6
+#install:
+# - pip install sphinx
+#before_script:
+# - ./configure -c
+
+# Then comment this section out
+before_script:
+ - ./configure -c --disable-docs --disable-fauxton
+
+script:
+ - make check
+
+# Re-enable once test suite is reliable
+#notifications:
+# email: false
+# irc:
+# channels:
+# "irc.freenode.org#couchdb-dev"
+# on_success: change
+# on_failure: always
+# use_notice: true
+# skip_join: true
+# template:
+# - %{repository_slug}/%{branch}: %{message} %{build_url}"