You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by be...@apache.org on 2021/01/26 10:58:15 UTC

[couchdb-config] branch main updated: Add CouchDB matrix to and remove erlang 19 from CI (#34)

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

bessbd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-config.git


The following commit(s) were added to refs/heads/main by this push:
     new 4a307e2  Add CouchDB matrix to and remove erlang 19 from CI (#34)
4a307e2 is described below

commit 4a307e24497704d66ba195728148ba7e1ad04504
Author: Bessenyei Balázs Donát <be...@users.noreply.github.com>
AuthorDate: Tue Jan 26 11:58:06 2021 +0100

    Add CouchDB matrix to and remove erlang 19 from CI (#34)
---
 .travis.yml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 141d476..89977c6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,7 +3,10 @@ language: erlang
 otp_release:
   - 21.1
   - 20.3
-  - 19.3
+
+env:
+  - COUCHDB_BRANCH=main
+  - COUCHDB_BRANCH=3.x
 
 sudo: false
 
@@ -17,10 +20,12 @@ before_install:
   - sudo apt-get install -y curl python
   - curl -sO https://www.foundationdb.org/downloads/6.2.28/ubuntu/installers/foundationdb-clients_6.2.28-1_amd64.deb
   - sudo dpkg -i foundationdb-clients_6.2.28-1_amd64.deb
-  - git clone --depth 1 https://github.com/apache/couchdb
+  - git clone --no-single-branch --depth 1 https://github.com/apache/couchdb
+
 
 before_script:
   - cd couchdb
+  - git checkout origin/${COUCHDB_BRANCH}
   - ./configure --disable-docs --disable-fauxton
   - cp -r ../!(couchdb) ./src/config
   - make