add travis configure file and skip gh-pages-src

This commit is contained in:
Chun-MingChen
2018-04-05 16:29:39 +08:00
parent 6c0b44c732
commit ca047e145b

21
.travis.yml Normal file
View File

@@ -0,0 +1,21 @@
language: node_js
node_js:
- "7"
- "6"
cache:
yarn: true
branches:
only:
- master
- develop
except:
- gh-pages-src
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s
- export PATH="$HOME/.yarn/bin:$PATH"
install: yarn install