-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (26 loc) · 892 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
language: node_js
node_js:
- "node"
before_install:
# Updating yarn
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
- yarn --version
# Preparing brand new TeamSpeak server for our tests
- wget http://dl.4players.de/ts/releases/3.4.0/teamspeak3-server_linux_amd64-3.4.0.tar.bz2 -O teamspeak3-server.tar.bz2
- tar xjf teamspeak3-server.tar.bz2
- rm teamspeak3-server.tar.bz2
- mv teamspeak3-server_linux_amd64 ts3
- chmod +x ts3/ts3server_startscript.sh
- touch ./ts3/.ts3server_license_accepted
- ./ts3/ts3server_startscript.sh start serveradmin_password=p4ssw0rd
- sleep 3
install:
- yarn install
script:
- yarn build
- yarn lint
- yarn cover
# Send coverage data to Coveralls
after_script:
- "cat coverage/coverage.json | node_modules/.bin/remap-istanbul -t text-lcov | node_modules/coveralls/bin/coveralls.js"