chore(travis): add travis build (#1318)

This commit is contained in:
Dmitry Nehaychik 2017-10-13 19:02:08 +03:00 committed by GitHub
parent 4217a2d5a1
commit ddbd0b2ede

34
.travis.yml Normal file
View file

@ -0,0 +1,34 @@
sudo: false
language: node_js
node_js:
- '6'
- '7'
- '8'
cache:
directories:
- node_modules
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install: if [[ `npm -v` != 5* ]]; then npm i -g npm@5; fi
install:
- npm i
script:
- npm run lint:ci
- npm run build:ci
git:
depth: 1
notifications:
slack: akveo:q559HckfZMSyZRb803aiLcjH