summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 0f075cfc3375ac57af7e97b5819d22abd56adf41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 2012 Cloudant

# for dynamic builds comment out couchjsflags
env:
   - couchjsflags="--static --nocurl"

before_install:
   - echo "deb http://packages.cloudant.com/ubuntu precise main" | sudo tee /etc/apt/sources.list.d/cloudant-source.list
   - sudo apt-get update -qq
   - sudo apt-get purge -qq libmozjs185-dev libmozjs185-1.0
# for static builds with no threading:
   - sudo apt-get install -qq --force-yes libmozjs185-cloudant libmozjs185-cloudant-dev libicu-dev
# for dynamic builds with threading:
#   - sudo apt-get install -qq libmozjs185-1.0 libmozjs185-dev libnspr4 libnspr4-dev libicu-dev

before_script: ./configure

script: make check

language: erlang

notifications:
  email: false
  irc: "irc.freenode.org#cloudant"

otp_release:
   - R14B04
   - R15B02