2017-11-23 09:10:00 +03:00
|
|
|
language: node_js
|
|
|
|
|
|
|
|
node_js:
|
|
|
|
- 'node'
|
|
|
|
|
2017-11-23 11:18:13 +03:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
|
2017-11-23 09:10:00 +03:00
|
|
|
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:
|
2017-12-06 07:09:21 +03:00
|
|
|
- npm install
|
2017-11-23 09:10:00 +03:00
|
|
|
|
|
|
|
script:
|
2017-12-06 07:09:21 +03:00
|
|
|
- npm run tslint
|
|
|
|
- npm run compile
|