forked from noodlefrenzy/node-amqp10
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (26 loc) · 918 Bytes
/
.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
language: node_js
node_js:
- '0.10'
- '4'
- '6'
sudo: required
dist: trusty
branches:
except:
- gh-pages
before_install:
- npm install -g codeclimate-test-reporter
- sudo sh -c 'printf "start on (started networking and filesystem)\nstop on runlevel [!2345]\n\nexpect fork\npre-start script\n\tmkdir -p /var/lib/qpidd/\nend script\n\nscript\n\texec qpidd -d --config /etc/qpid/qpidd.conf\nend script\n" > /etc/init/qpidd.conf'
- sudo add-apt-repository -y ppa:qpid/testing
- sudo apt-get update -qq
- sudo apt-get install -y qpidd qpid-tools
before_script:
- sudo sh -c 'echo "auth=no" >> /etc/qpid/qpidd.conf'
- sudo service qpidd restart
# remove these when we can specify link properties
- sudo qpid-config add queue test.disposition.queue
- sudo qpid-config add queue test.streams.queue
script:
- make coverage
after_script:
- codeclimate-test-reporter < coverage/lcov.info