forked from fossasia/open-event-wsgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (41 loc) · 1.49 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
42
43
44
45
46
47
dist: xenial
language: node_js
node_js:
- 12
services:
- docker
- redis
env:
- TESTFOLDER=test/serverTest.js
- TESTFOLDER=test/roomsAndSpeakers.js
- TESTFOLDER=test/tracks.js
- TESTFOLDER=test/generatorAndSchedule.js
- TESTFOLDER=test/sessionEventAndCoC.js
addons:
sauce_connect:
username: princu7
jwt:
secure: FslueGK2gtPHkRANMpUlGyCGsr1jTVuaKpP+SvYUxBYh5zbz73GMq+VsqlE29IZ1ER1+xMfWuCCvg3VA7HePyN6hzoZ/t0LADureYVPur6R5ZJgqgQpBinjpytIjo2BhN3NqaNWaIJZTLDSAT76R7HuNm016jbuOEjO5foYWuz2F82B03viHmk42CRNl3eqXEMcwkkLfEkvu9iupeVAArPXepA2YCpaaFbV2D5ahTelzMROnc2YQ/HyAdaaLtto8L0CDmZSrFsPZtTGQKarFdOgKWeor2iD1AiYLHYdcbvXV5YbBVvi7tFJG8r5h0YBUu1JIkhvzWIi698GJRGwDCONStCaKVhrMvpL7C8fEpbzullxFSpWOVupTEjn+u0OGaxrugwSZ1dtSkbIu+2SlVR/QuXS8o6OMiDz7lrFhIc+hF6EvFRWI7UIjt9NPte1o3COA8WESaseCWKhLY0g/hgpRSM7pyfKx2NAj4UCXyPATTKRJNlEHcs/jMpgxu+RSjPYphK4rrWxm6O6bJxd+jNwQNBOmJ1lQgOPAxpA7SvRDpN5Et+L61tWttR1EEO1+sj0g/iGO+zrZfD8m+jxNnIGWih/ykSzggiaJ42VFbQcJFk5BCfxlty6c0p8DvJkdulcRkboU21nQx9irqWmSeedcA3VJX2r0womx3tZYnbY=
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- chromium-chromedriver
# installing required items for build
install:
- npm install -g yarn
- yarn global add nyc mocha
- yarn
# testing script
script:
- nyc mocha --exit -- $TESTFOLDER
# notify codecov and deploy to cloud
after_success:
if ([ "$TESTFOLDER" == "test/serverTest.js" ]); then
bash <(curl -s https://codecov.io/bash);
fi
branches:
only:
- master
- development