-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcircle.yml
32 lines (30 loc) · 1.06 KB
/
circle.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
# Adjust the behavior of the virtual machine (VM)
machine:
node:
version: 6.11.2
# Use for broader build-related configuration
general:
branches:
ignore:
- gh-pages
dependencies:
pre:
- npm i -g npm
- npm i -g codecov nyc
- source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
- wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
- sudo apt-get update -qq
- sudo apt-get install rethinkdb -y --force-yes
- sudo cp /etc/rethinkdb/default.conf.sample /etc/rethinkdb/instances.d/instance1.conf
- echo "cache-size=128" | sudo tee --append /etc/rethinkdb/instances.d/instance1.conf
- echo "no-http-admin" | sudo tee --append /etc/rethinkdb/instances.d/instance1.conf
- sudo /etc/init.d/rethinkdb restart
- sleep 5
post:
- sudo rethinkdb --io-threads 2048 --daemon
- ulimit -S -n 2048
- sleep 10
test:
post:
- nyc report --reporter=lcov > coverage.lcov && codecov
- sudo killall rethinkdb