Skip to content
Browse files

Fix travis build?

  • Loading branch information...
1 parent b2bf557 commit 0c4e0ec8b0b03f6b68b783296f56ab76ba3891ed Robert Newson committed
Showing with 22 additions and 2 deletions.
  1. +22 −2 .travis.yml
View
24 .travis.yml
@@ -1,8 +1,28 @@
+# Copyright 2012 Cloudant
+
+# for dynamic builds comment out couchjsflags
+env:
+ - couchjsflags="--static --nocurl"
+
before_install:
- - sudo apt-get update
- - sudo apt-get install libicu-dev libmozjs-dev
+ - 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

0 comments on commit 0c4e0ec

Please sign in to comment.
Something went wrong with that request. Please try again.