-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
28 lines (22 loc) · 841 Bytes
/
.travis.yml
File metadata and controls
28 lines (22 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: node_js
node_js:
- "0.10"
# set github token in an environment variable (generated by travis encrypt githubToken=...)
env:
global:
secure: "Gs4ZBIi+ovwX+c2noJS9r7BB1Q6iQa3TGbh18OAq60ZTfmYd3zbgH+gamDWPtnBe7D5dI2i452UZI+jM7BHCVUJ5OkpMGIvKjeIQDXyy0BVrZEhYUBIYdU95sfcg8KmlnRmcGPml6SPbok0c/T89Rslk0YuJm26yWjqyKM3c8fE="
# install build dependency
before_install:
- npm install -g bower gulp
- npm install
# fetch current commit message using git log, kinda hackish, see github.com/travis-ci/travis-ci/issues/965
- "export TRAVIS_COMMIT_MSG=\"$(git log --format=%B --no-merges -n 1)\""
# install module dependency
install:
- bower install
# not much to do for now. Run some tests later.
script: gulp dist
# deploy demos application to gh-pages branch
after_success:
- gulp deploy-gh-pages
- gulp deploy-bower