summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoan Touzet <joant@atypical.net>2017-05-04 16:06:21 -0400
committerJoan Touzet <wohali@users.noreply.github.com>2017-05-05 16:19:13 -0400
commite38b1d611d381fbb4415bc632fbeeb28ab46d667 (patch)
tree9d31cc77de6a2fb985ba8ee101013b22e6cfcb7e
parent4a63d22b363e2059ababb775a9f0b0ca685a87bc (diff)
downloadcouchdb-e38b1d611d381fbb4415bc632fbeeb28ab46d667.tar.gz
Switch to using Travis containerised builds
-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}"