Skip to content

Commit

Permalink
chore: add travis
Browse files Browse the repository at this point in the history
  • Loading branch information
viko16 committed Oct 9, 2016
1 parent 6a5eb4d commit b4c4fc4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
branches:
only:
- develop

language: node_js

sudo: false

node_js: stable

cache:
directories:
- node_modules

before_install:
- git config --global user.name "viko16"
- git config --global user.email "[email protected]"
- git clone --branch try-pages https://github.com/viko16/vue-ghpages-blog.git dist

install:
- npm install
- npm run build

script:
- cd dist
- git add --all .
- git commit --message "automatically update by travis"
- git push --force "https://${GH_TOKEN}@github.com/viko16/vue-ghpages-blog.git" try-pages:try-pages

env:
global:
secure: WqfWUhFFiwvc7KbYQB/CTRTbSqbPjd7XBxO/SCdEn/6e3pazx/Co8K1xyuX4yU7QpT5tYotNJK9N47f+gHbzvySTfYbtPWA2rwZXT9JXQZcBuKxeY6mD47HgFzJhtey9JUSJEn6X7MIYrM6p7ZZSgzMcd/ldfYyA4SzRKgVPfxOCt6wZMAaBH0EEBT4DBT/BCh9ibjpyAA6z64HjXi43dxCgQCr7VGJN1C0K0rVr/a+oh7aIeRzzVGRdxmawEn7cS5xQ3DGC94DZp5L7E0omcGTVM2hsu2MoKQaN7W+IZNFGvsXbHk6ubzpSo7FNmtFlwVXHZIUU6JQWr6tVNr07OeJsYxAp884YfBgcKcVdwktQTSU5jUfzhKToufmKEA9SuVpmrhHWSmipvtxQptf36CJM1rjTmfZuMgqSKGrQJWuuHzMXaO1ibIYRJRZDEOBhZ1yye+nGrsGeEAofnaQ+c0wGOPTS0n7Ufofh8X1qUW4AU5sw0YiJJCUuXa7CMFK5spSorr2ZQanJ8loqLb2/s9uMQP8r9gJOqIb2QwnPin3O1Te1YkhPZRt22GLS64cIT+fUF0ae3XkmV8RoRMUCGjmxY9RUd4OzqGhArgnyYCPes8hwmhQGA0j30FNkFAREaK0U1L6gTYVS0/uoS4bB0SMoxKcMrQBeNlaQUY/ngfw=

0 comments on commit b4c4fc4

Please sign in to comment.