Skip to content

Switch to using Travis containerised builds, update Erlang versions#507

Merged
wohali merged 1 commit intomasterfrom
travis-containers
May 5, 2017
Merged

Switch to using Travis containerised builds, update Erlang versions#507
wohali merged 1 commit intomasterfrom
travis-containers

Conversation

@wohali
Copy link
Member

@wohali wohali commented May 4, 2017

Overview

Travis has 2 build environments: containerised and VM based. Right now
sudo:false selects containers, while sudo:required selects the VM
based. Container-based builds guarantee 2 CPU cores and boot faster.
We've been using the latter because we needed a bunch of
apt-get install commands. But Travis added native (non-sudo) support
to install packages in containers, and we didn't notice.

This PR switches us to sudo:false and uses the new apt block to
install required packages.

The PR also updates our Erlang build matrix, using the latest minor
release of each major version we support, and prepares us to enable
IRC notifications to #couchdb-dev once the test suite is reliable
again (currently disabled.)

Testing recommendations

Check the Travis build results on this PR. It is passing.

@wohali wohali added the build label May 4, 2017
Copy link
Member

@garrensmith garrensmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great.

@wohali wohali merged commit e38b1d6 into master May 5, 2017
@wohali wohali deleted the travis-containers branch May 5, 2017 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants