forked from apache/couchdb-fauxton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (43 loc) · 1.3 KB
/
.travis.yml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: erlang
otp_release:
- 17.4
git:
depth: 10
addons:
firefox: "38.0.1"
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 --disable-docs
- 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"
before_script:
- ./node_modules/grunt-cli/bin/grunt test
- ./node_modules/grunt-cli/bin/grunt dev &
- sleep 25
script:
- ./node_modules/grunt-cli/bin/grunt nightwatch
notifications:
irc:
channels:
- "chat.freenode.net#couchdb-dev"
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} Amazing details: %{build_url}"
skip_join: true
on_success: "never"
on_failure: "change"
cache: apt
git:
depth: 1