use travis-ci

This commit is contained in:
yushijinhun 2018-01-06 20:18:04 +08:00
parent 4b87fca288
commit 9a38f99d8f
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4
2 changed files with 10 additions and 8 deletions

7
.travis.yml Normal file
View File

@ -0,0 +1,7 @@
sudo: false
language: node_js
node_js:
- '9'
cache:
directories:
- node_modules

View File

@ -1,8 +1,9 @@
skinview3d
========
[![Latest NPM release][npm-badge]][npm-badge-url]
[![License][license-badge]][license-badge-url]
[![Travis](https://img.shields.io/travis/to2mbn/skinview3d.svg?style=flat-square)](https://travis-ci.org/to2mbn/skinview3d)
[![npm](https://img.shields.io/npm/v/skinview3d.svg?style=flat-square)](https://www.npmjs.com/package/skinview3d)
[![license](https://img.shields.io/github/license/to2mbn/skinview3d.svg?style=flat-square)](https://github.com/to2mbn/skinview3d/blob/master/LICENSE)
Three.js powered Minecraft skin viewer.
@ -50,9 +51,3 @@ Three.js powered Minecraft skin viewer.
# Build
`npm run build`
[npm-badge]: https://img.shields.io/npm/v/skinview3d.svg
[npm-badge-url]: https://www.npmjs.com/package/skinview3d
[license-badge]: https://img.shields.io/npm/l/skinview3d.svg
[license-badge-url]: ./LICENSE