-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
30 lines (24 loc) · 952 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
language: node_js
node_js:
- "6"
- "10"
sudo: false
notifications:
email:
- services@wikimedia.org
addons:
apt:
packages:
- openjdk-8-jre-headless
env:
- CASSANDRA_VERSION=3.11.2
before_install:
- wget https://archive.apache.org/dist/cassandra/${CASSANDRA_VERSION}/apache-cassandra-${CASSANDRA_VERSION}-bin.tar.gz -P ../
- tar -xzf ../apache-cassandra-${CASSANDRA_VERSION}-bin.tar.gz -C ../
- export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64"
- mkdir -p ../apache-cassandra-${CASSANDRA_VERSION}/logs
- echo "-Xms512m" >> ../apache-cassandra-${CASSANDRA_VERSION}/conf/jvm.options
- echo "-Xmx1g" >> ../apache-cassandra-${CASSANDRA_VERSION}/conf/jvm.options
- sed -i -e 's/^-XX:+UseNUMA/#-XX:+UseNUMA/' ../apache-cassandra-${CASSANDRA_VERSION}/conf/jvm.options
- bash ../apache-cassandra-${CASSANDRA_VERSION}/bin/cassandra > /dev/null
script: npm run-script coverage && (npm run-script coveralls || exit 0)