forked from msemys/esjc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
23 lines (23 loc) · 977 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
language: java
jdk:
- oraclejdk8
sudo: true
script: mvn clean install
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y wget tar make openssl
install:
- mkdir tools
- cd tools
- export ES_FNAME="EventStore-OSS-Ubuntu-14.04-v4.1.0.tar.gz"
- wget https://eventstore.org/downloads/$ES_FNAME
- tar -xzf $ES_FNAME
- cd ${ES_FNAME%.tar.gz}
- openssl req -x509 -sha256 -nodes -days 365 -subj "/CN=test.com" -newkey rsa:2048 -keyout domain.pem -out domain.csr
- openssl pkcs12 -passout "pass:" -export -inkey domain.pem -in domain.csr -out domain.p12
- ./run-node.sh --mem-db --run-projections=all --stats-period-sec 3000 --ext-tcp-port 7773 --ext-secure-tcp-port 7779 --certificate-file domain.p12 > /dev/null &
- cd ../
- wget https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz
- tar -xzf protobuf-2.6.1.tar.gz
- cd protobuf-2.6.1 && ./configure --prefix=/usr && make > /dev/null 2>&1 && sudo make install > /dev/null 2>&1
- cd ../../