-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
.travis.yml
54 lines (43 loc) · 1.08 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
48
49
50
51
52
53
54
sudo: required
dist: trusty
language: node_js
node_js:
- "12"
addons:
sonarcloud: true
apt:
sources:
- sourceline: 'deb http://download.mono-project.com/repo/ubuntu trusty main'
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF'
packages:
- mono-complete
jdk:
- oraclejdk8
git:
depth: false
before_install:
- wget -O os.deb http://oscript.io/downloads/night-build/deb?bitness=x64
- sudo dpkg -i os.deb; sudo apt install -f
- oscript
# - sudo opm update opm
- sudo opm install strings
- sudo opm install oscript-config
install:
- |
if [ $TRAVIS_OS_NAME == "linux" ]; then
export DISPLAY=':99.0'
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
fi
- npm install
- npm run vscode:prepublish
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'
script:
- export SONARQUBE_SKIPPED=false
- npm test --silent
- tslint -t json -o report.json --project . --force
- ./sonar.sh
after_script:
- bash <(curl -s https://codecov.io/bash)