mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-09-22 05:50:48 +02:00
chore(travis): add travis build (#1318)
This commit is contained in:
parent
4217a2d5a1
commit
ddbd0b2ede
1 changed files with 34 additions and 0 deletions
34
.travis.yml
Normal file
34
.travis.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue