blob: 760e13cd86f9693a4d14ae98bb166ab9b61663ec (
plain)
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
|
sudo: false
os:
- linux
- osx
language: node_js
node_js:
- "6"
matrix:
include:
- os: linux
dist: trusty
sudo: false
- os: osx
osx_image: xcode9.1
stages:
- lint
- build
- test
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
install:
- npm install
jobs:
include:
- stage: lint
script: tslint -c tslint.json 'src/**/*.ts'
- stage: build
script: npm run vscode:prepublish
|