-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
33 lines (27 loc) · 992 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:
- "8.12"
# NODE_NO_SUPPORT_MESSAGE=true is for sinon not supporting node 0.10: https://github.com/sinonjs/sinon/issues/1746
env:
- CXX=g++-4.8 RIAK_ADMIN_USE_SUDO=true
addons:
code_climate:
repo_token: ccb3dcc6f31eac8bc30fabfcbb27d3cece7cd9ebfdcd2e55d49ec5a5c1ed135f
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_script:
- sudo apt-get purge riak
# - curl http://s3.amazonaws.com/downloads.basho.com/riak/2.1/2.1.3/ubuntu/precise/riak_2.1.3-1_amd64.deb -O
- curl https://files.tiot.jp/riak/kv/2.1/2.1.3/ubuntu/precise/riak_2.1.3-1_amd64.deb -O
- sudo dpkg -i riak_2.1.3-1_amd64.deb
- pushd /etc/riak
- sudo sed -i -e 's/storage_backend = bitcask/storage_backend = leveldb/' riak.conf
- popd
- sudo service riak start
- until sudo riak-admin test > /dev/null 2>&1; do sleep 2; done
after_script:
- npm install codeclimate-test-reporter
- codeclimate-test-reporter < coverage/lcov.info