-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy path.travis.yml
21 lines (19 loc) · 851 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: node_js
node_js:
- "0.11"
- "0.10"
before_script:
- "sudo apt-get purge riak"
- "curl http://s3.amazonaws.com/downloads.basho.com/riak/2.0/2.0.0/ubuntu/precise/riak_2.0.0-1_amd64.deb -O"
- "sudo dpkg -i riak_2.0.0-1_amd64.deb"
- "sudo cp test/ssl/server.* /etc/riak/"
- "pushd /etc/riak"
- "sudo sed -i -e 's/search = off/search = on/' riak.conf"
- "sudo sed -i -e 's/storage_backend = bitcask/storage_backend = memory/' riak.conf"
- "sudo sed -i -e 's|## ssl.certfile = $(platform_etc_dir)/cert.pem|ssl.certfile = $(platform_etc_dir)/server.crt|' riak.conf"
- "sudo sed -i -e 's|## ssl.keyfile = $(platform_etc_dir)/key.pem|ssl.keyfile = $(platform_etc_dir)/server.key|' riak.conf"
- "popd"
- "sudo service riak start"
- 'until sudo riak-admin test > /dev/null 2>&1; do sleep 2; done'
env:
- TEST_ENV=travis