-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy path.travis.yml
41 lines (37 loc) · 1.1 KB
/
.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
34
35
36
37
38
39
40
41
language: node_js
node_js: 10
env:
NODE_ROCKETMQ_REGISTRY=https://opensource-rocketmq-client-us.oss-us-west-1.aliyuncs.com/
before_script:
- wget https://archive.apache.org/dist/rocketmq/4.3.2/rocketmq-all-4.3.2-bin-release.zip
- unzip rocketmq-all-4.3.2-bin-release.zip
- cd rocketmq-all-4.3.2-bin-release
- perl -i -pe's/-Xms8g -Xmx8g -Xmn4g/-Xms2g -Xmx2g -Xmn1g/g' bin/runbroker.sh
- nohup sh bin/mqnamesrv &
- nohup sh bin/mqbroker -n localhost:9876 &
- sleep 10
- ./bin/mqadmin updateTopic -b '127.0.0.1:10911' –n '127.0.0.1:9876' -t test
- ./bin/mqadmin updateSubGroup -b '127.0.0.1:10911' –n '127.0.0.1:9876' -g testGroup
script:
- npm test
matrix:
include:
- os: linux
dist: trusty
- os: linux
dist: xenial
jdk: openjdk8
env:
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64
apt:
packages:
- openjdk8
- os: windows
- os: osx
osx_image: xcode9.3
env:
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre
allow_failures:
- os: linux
dist: xenial
- os: windows