couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [1/4] fauxton commit: updated refs/heads/master to 592638a
Date Mon, 30 Mar 2015 11:45:53 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 7552f24e9 -> 592638a10


tests: run on 2.0 on CI

this makes it possible to test new 2.0 features like mango or and
all other changes related to the 2.0 release.

PR: #322
PR-URL: https://github.com/apache/couchdb-fauxton/pull/322
Reviewed-By: garren smith <garren.smith@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/38544abe
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/38544abe
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/38544abe

Branch: refs/heads/master
Commit: 38544abe7df4bf042b0a79bdb74cf343c97469d8
Parents: 7552f24
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Tue Mar 17 15:37:16 2015 +0100
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Mon Mar 30 13:45:41 2015 +0200

----------------------------------------------------------------------
 .travis.yml | 42 ++++++++++++++++++++++++++++++------------
 1 file changed, 30 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/38544abe/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 0bab741..ded39f3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,26 +1,39 @@
-language: node_js
-node_js:
-  - '0.10'
+language: erlang
+otp_release:
+   - 17.4
 git:
   depth: 10
-services:
-  - couchdb
+
 addons:
   firefox: "34.0"
 before_install:
   - sudo apt-get update -qq
   - sudo apt-get install -qq flashplugin-installer
+  - sudo apt-get -y install libicu-dev libmozjs-dev pkg-config help2man libcurl4-openssl-dev
+  - sudo apt-get -y install libtool automake autoconf autoconf-archive
+  - sudo apt-get -y install haproxy
+
+  - nvm install 0.10 && nvm use 0.10
+
+  - cd ..
+  - git clone --depth=1 https://github.com/apache/couchdb
+  - cd couchdb
+  - ./configure
+  - make
+  - ./dev/run --admin=tester:testerpass &
+  - haproxy -f rel/haproxy.cfg &
+  - cd .. && cd couchdb-fauxton
+  - npm install
+
   - export DISPLAY=:99.0
   - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile
--background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1400x900x16"
-  - HOST="http://127.0.0.1:5984"
-  - curl -X PUT $HOST/_config/admins/tester -d '"testerpass"'
+
 before_script:
-  - npm install -g grunt-cli
-  - grunt test
-  - grunt dev &
-  - sleep 10
+  - ./node_modules/grunt-cli/bin/grunt test
+  - ./node_modules/grunt-cli/bin/grunt dev &
+  - sleep 25
 script:
-  - grunt nightwatch
+  - ./node_modules/grunt-cli/bin/grunt nightwatch
 notifications:
   irc:
     channels:
@@ -30,3 +43,8 @@ notifications:
     skip_join: true
     on_success: "never"
     on_failure: "change"
+
+cache: apt
+
+git:
+  depth: 1


Mime
View raw message