You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2017/05/04 20:37:10 UTC

[couchdb] 01/01: Switch to using Travis containerised builds

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch travis-containers
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit c0048da4d935528694f57facd497a720be50e0af
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Thu May 4 16:06:21 2017 -0400

    Switch to using Travis containerised builds
---
 .travis.yml | 59 ++++++++++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 48 insertions(+), 11 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index f0f7126..580ac6c 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}"

-- 
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <co...@couchdb.apache.org>.